glx: Don't destroy context with XID 0
authorKristian Høgsberg <krh@bitplanet.net>
Sat, 24 Jul 2010 02:05:21 +0000 (22:05 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 24 Jul 2010 02:05:53 +0000 (22:05 -0400)
commitd77bb8e059ecfed9b714301fc31b093c6026c7bc
treebf201f09f5f253cb5adeea6e6df581bb9b89f251
parent6739d52fdced53a566188215d204ffef1e85a5e6
glx: Don't destroy context with XID 0

We use XID 0 to indicate the context has already been destroyed, but it's
currently bound.
src/glx/dri2_glx.c
src/glx/dri_glx.c
src/glx/drisw_glx.c
src/glx/glxcmds.c