| Index: src/gpu/gl/GrGpuGL.cpp
|
| diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
|
| index bd3a0cc18bddabffd4f7000721e409ec3a0c5ba9..e55359349cd1be04d6171c1fe87f1564ebae01ae 100644
|
| --- a/src/gpu/gl/GrGpuGL.cpp
|
| +++ b/src/gpu/gl/GrGpuGL.cpp
|
| @@ -360,9 +360,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.
|
|
|