From: Aidan Thornton Date: Mon, 18 May 2009 10:47:00 +0000 (+0200) Subject: Initialize psp->waitX/waitGL for swrast_dri.so. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2445dfd85b42aafe0634e17b2929b4122ff3f03;p=mesa.git Initialize psp->waitX/waitGL for swrast_dri.so. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 . --- 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;