Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
angle
Commits
909f21cc
Commit
909f21cc
authored
Aug 17, 2012
by
apatrick@chromium.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reset shaders to null in makeCurrent.
Review URL:
https://codereview.appspot.com/6460100
git-svn-id:
https://angleproject.googlecode.com/svn/trunk@1253
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
74ff2edc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
version.h
src/common/version.h
+1
-1
Context.cpp
src/libGLESv2/Context.cpp
+4
-0
No files found.
src/common/version.h
View file @
909f21cc
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 12
47
#define BUILD_REVISION 12
53
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/libGLESv2/Context.cpp
View file @
909f21cc
...
...
@@ -369,6 +369,10 @@ void Context::makeCurrent(egl::Display *display, egl::Surface *surface)
{
depthStencil
->
Release
();
}
// Reset pixel shader to null to work around a bug that only happens with Intel GPUs.
// http://crbug.com/110343
mDevice
->
SetPixelShader
(
NULL
);
markAllStateDirty
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment