summaryrefslogtreecommitdiff
path: root/src/glx/x11/pixel.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-01-16 23:19:19 -0800
committerBrian Paul <brianp@vmware.com>2010-01-19 08:59:37 -0700
commite88294328cb71dc32941556da5bd4ed40e8b95f1 (patch)
tree2491cbde360e8b22bc40c459adf69202fdeedef7 /src/glx/x11/pixel.c
parent7a39a5c1cb5087a1b8247f9bed59bf9374717cb3 (diff)
glx: Set GL context to null in __glXSetCurrentContextNull
__glXSetCurrentContextNull currently does not set the GL context to null in the direct rendering case. This can result in a segfault trying to flush an invalid old context in glXMakeCurrent. This fixes a crash starting the Unigine demos (they still don't work due to missing extensions though). Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/glx/x11/pixel.c')
0 files changed, 0 insertions, 0 deletions