summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/transformfeedback.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-31 18:24:07 -0700
committerBrian Paul <[email protected]>2012-02-01 07:11:44 -0700
commita1471e4877515e2ce4fcc129c4ce26f5c306b193 (patch)
tree25d93b6fcd922a54ff36e7c08ea22ee1959f5746 /src/mesa/main/transformfeedback.h
parent361cd53a77dd48fbf2a0321446c0b7c07365bff9 (diff)
mesa: reference shared state in glPushAttrib(GL_TEXTURE_BIT)
This fixes a dangling texture object pointer bug hit via wglShareLists(). When we push the GL_TEXTURE_BIT state we may push references to the default texture objects which are owned by the gl_shared_state object. We don't want to accidentally delete that shared state while the attribute stack references shared objects. So keep a reference to it. NOTE: This is a candidate for the 8.0 branch. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/transformfeedback.h')
0 files changed, 0 insertions, 0 deletions