diff options
Diffstat (limited to 'chromium/third_party/angle/src/libANGLE/validationEGL.cpp')
-rw-r--r-- | chromium/third_party/angle/src/libANGLE/validationEGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/angle/src/libANGLE/validationEGL.cpp b/chromium/third_party/angle/src/libANGLE/validationEGL.cpp index 4e6bbb7ed6b..66beff32a8f 100644 --- a/chromium/third_party/angle/src/libANGLE/validationEGL.cpp +++ b/chromium/third_party/angle/src/libANGLE/validationEGL.cpp @@ -4582,7 +4582,7 @@ bool ValidateBindTexImage(const ValidationContext *val, } gl::Context *context = val->eglThread->getContext(); - if (context) + if (context && !context->isContextLost()) { gl::TextureType type = egl_gl::EGLTextureTargetToTextureType(surface->getTextureTarget()); gl::Texture *textureObject = context->getTextureByType(type); |