summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAidan Thornton <makosoft@googlemail.com>2009-05-18 12:47:00 +0200
committerBrian Paul <brianp@vmware.com>2009-06-17 11:30:02 -0600
commit631d5b479825caa5aa739267c716bc8d540cbfed (patch)
tree1aa7a87d6719d7157ec0f20b77a1d9cf816cbdf1
parent5f4c14206c694a5675f12ac5036033ddfcc445c6 (diff)
downloadmesa-631d5b479825caa5aa739267c716bc8d540cbfed.tar.gz
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;