intel: Fix leakage of active texture state in glBitmap fp metaops.
Noticed by clang.
This commit is contained in:
parent
e3202a8cc7
commit
d85a6f70eb
|
@ -503,6 +503,7 @@ intel_texture_bitmap(GLcontext * ctx,
|
|||
meta_restore_fragment_program(&intel->meta);
|
||||
meta_restore_vertex_program(&intel->meta);
|
||||
|
||||
_mesa_ActiveTextureARB(GL_TEXTURE0_ARB + old_active_texture);
|
||||
_mesa_PopClientAttrib();
|
||||
_mesa_PopAttrib();
|
||||
|
||||
|
|
Loading…
Reference in New Issue