| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index 94a1306e611860e263a67ffb7f10600b967361f9..28e41af5f040f0eeb6281bde4fb968865ea919aa 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -364,9 +364,7 @@ void GrGpuGL::onResetContext(uint32_t resetBits) {
|
| fHWBoundRenderTarget = NULL;
|
| }
|
|
|
| - if (resetBits & kFixedFunction_GrGLBackendState &&
|
| - kDesktop_GrGLBinding == this->glBinding() &&
|
| - !this->glCaps().isCoreProfile()) {
|
| + if (resetBits & kFixedFunction_GrGLBackendState && this->glCaps().fixedFunctionSupport()) {
|
|
|
| fHWProjectionMatrixState.invalidate();
|
| // we don't use the model view matrix.
|
|
|