Initialize psp->waitX/waitGL for swrast_dri.so.
authorAidan Thornton <makosoft@googlemail.com>
Mon, 18 May 2009 10:47:00 +0000 (12:47 +0200)
committerMichel Dänzer <daenzer@vmware.com>
Mon, 18 May 2009 10:47:00 +0000 (12:47 +0200)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .

src/glx/x11/drisw_glx.c

index 5e3d763cff59cef09ae598de267b5a4a08b7a517..b843ce484fb7a29c8e928c2c7e73f4a30884dd53 100644 (file)
@@ -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;