diff options
author | Luca Barbieri <[email protected]> | 2010-01-16 23:19:19 -0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-19 08:59:37 -0700 |
commit | e88294328cb71dc32941556da5bd4ed40e8b95f1 (patch) | |
tree | 2491cbde360e8b22bc40c459adf69202fdeedef7 /src/gallium/drivers/trace/tr_drm.c | |
parent | 7a39a5c1cb5087a1b8247f9bed59bf9374717cb3 (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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace/tr_drm.c')
0 files changed, 0 insertions, 0 deletions