summaryrefslogtreecommitdiffstats
path: root/src/glx/glxcurrent.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-29 18:44:26 -0400
committerKristian Høgsberg <[email protected]>2010-07-29 18:49:10 -0400
commitf485ee724d1f1bb57a5c8931f28e7a45ceb5b5d5 (patch)
tree71540d79ac1bc1f49d9c9e1552f7b8622fbfe08f /src/glx/glxcurrent.c
parentcd601513f5ff4f488a6f6527bb033e39ee62ffda (diff)
glx: Compare old ctx against dummyCtx, not NULL
https://bugs.freedesktop.org/show_bug.cgi?id=29302
Diffstat (limited to 'src/glx/glxcurrent.c')
-rw-r--r--src/glx/glxcurrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxcurrent.c b/src/glx/glxcurrent.c
index 0eccc9f7658..e2569974c2f 100644
--- a/src/glx/glxcurrent.c
+++ b/src/glx/glxcurrent.c
@@ -60,7 +60,7 @@ static GLubyte dummyBuffer[__GLX_BUFFER_LIMIT_SIZE];
** gl and glx entry points are designed to operate as nop's when using
** the dummy context structure.
*/
-static struct glx_context dummyContext = {
+struct glx_context dummyContext = {
&dummyBuffer[0],
&dummyBuffer[0],
&dummyBuffer[0],