summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Thornton <makosoft@googlemail.com>2009-05-18 12:47:00 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-05-18 12:51:12 +0200
commitb5eafa2d51855b8fb3f36378a5478374daca28a7 (patch)
tree5c05dadd9e53ac54e285f8a2e58fbb447ed7a41d
parentd1fcb4a263a658fb29dffbb9c2b68ce5ec721921 (diff)
Initialize psp->waitX/waitGL for swrast_dri.so.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 . (cherry picked from commit f2445dfd85b42aafe0634e17b2929b4122ff3f03)
-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;