mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 01:00:30 +01:00
intel: Fix leakage of active texture state in glBitmap fp metaops.
Noticed by clang.
This commit is contained in:
parent
e3202a8cc7
commit
d85a6f70eb
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue