From f2445dfd85b42aafe0634e17b2929b4122ff3f03 Mon Sep 17 00:00:00 2001 From: Aidan Thornton Date: Mon, 18 May 2009 12:47:00 +0200 Subject: [PATCH] Initialize psp->waitX/waitGL for swrast_dri.so. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 . --- src/glx/x11/drisw_glx.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2