Commit 909f21cc by apatrick@chromium.org

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
#define MAJOR_VERSION 1
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 1247
#define BUILD_REVISION 1253
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
......
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment