summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-05-22 11:46:27 -0600
committerBrian Paul <[email protected]>2017-06-02 08:22:55 -0600
commitc6ba85a8c0f02b3b7058dae7afb6c49f56567319 (patch)
tree4a76e5c1b9c2fd063e96651e8e0ca51ff0dd9823 /src/mesa/state_tracker/st_extensions.h
parentbcae3274692954ad2cd6dfc253579ec98d50856f (diff)
xlib: fix glXGetCurrentDisplay() failure
glXGetCurrentDisplay() has been broken for years and nobody noticed until recently. This change adds a new XMesaGetCurrentDisplay() that the GLX emulation API can call, just as we did for glXGetCurrentContext(). Tested by hacking glxgears to call glXGetCurrentContext() before and after glXMakeCurrent() to verify the return value is NULL beforehand and the same as the opened display afterward. Also tested by Tom Hudson with his tests programs. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100988 Cc: [email protected] Tested-by: Tom Hudson <[email protected]> Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.h')
0 files changed, 0 insertions, 0 deletions