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

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


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

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 .

---

 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