Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 14 Sep 2004 20:40:55 +0000 (20:40 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 14 Sep 2004 20:40:55 +0000 (20:40 +0000)
commitf18fc687071a71a6f821a779a83b435f80d55b64
treef62b3ad5e4c86aeb85d54d542482349e6e639fe1
parentd84f09306cc0413b7a8d9529769daf9d69b68c3d
Repeatedly deleting a texture ID with glDeleteTextures() could lead to a crash.
Added a DeletePending flag to texture object struct to fix that.
Other misc clean-ups.
src/mesa/main/mtypes.h
src/mesa/main/texobj.c