Fix glDeleteTextures called without context
When we don't have a current context, g_current_gl_context is not null. Instead, it's an instance of NoContextGLApi. In ExternalVkImageBacking ::Destroy, don't check that g_current_gl_context is null. Always call MakeCurrent. Bug: 939442 Change-Id: Icc4cc15daec78f32697d56cc102718cf5b0a229b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754708Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#687257}
Showing
Please register or sign in to comment