summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorAidan Thornton <[email protected]>2009-05-18 12:47:00 +0200
committerMichel Dänzer <[email protected]>2009-05-18 12:47:00 +0200
commitf2445dfd85b42aafe0634e17b2929b4122ff3f03 (patch)
tree2c1a23848ea84f57cbd7508d00cbb784e07f7f55 /src/glx
parent483e247804db914835173347b7f2a12c0f78d60e (diff)
Initialize psp->waitX/waitGL for swrast_dri.so.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/drisw_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c
index 5e3d763cff5..b843ce484fb 100644
--- a/src/glx/x11/drisw_glx.c
+++ b/src/glx/x11/drisw_glx.c
@@ -405,6 +405,8 @@ driCreateScreen(__GLXscreenConfigs * psc, int screen,
psp->createContext = driCreateContext;
psp->createDrawable = driCreateDrawable;
psp->swapBuffers = driSwapBuffers;
+ psp->waitX = NULL;
+ psp->waitGL = NULL;
return psp;