Mesa (mesa_7_4_branch): Initialize psp->waitX/waitGL for swrast_dri.so.

Michel Dänzer daenzer at kemper.freedesktop.org
Mon May 18 10:55:33 UTC 2009


Module: Mesa
Branch: mesa_7_4_branch
Commit: b5eafa2d51855b8fb3f36378a5478374daca28a7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b5eafa2d51855b8fb3f36378a5478374daca28a7

Author: Aidan Thornton <makosoft at googlemail.com>
Date:   Mon May 18 12:47:00 2009 +0200

Initialize psp->waitX/waitGL for swrast_dri.so.

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21053 .
(cherry picked from commit f2445dfd85b42aafe0634e17b2929b4122ff3f03)

---

 src/glx/x11/drisw_glx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/drisw_glx.c b/src/glx/x11/drisw_glx.c
index 5e3d763..b843ce4 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;
 




More information about the mesa-commit mailing list