diff options
author | Alan Hourihane <[email protected]> | 2009-02-16 11:44:40 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2009-02-16 11:47:05 +0000 |
commit | 63b51b5cf17ddde09b72a2811296f37b9a4c5ad2 (patch) | |
tree | ac07afe3c9362241940ce2c901d24a7155893479 /src/glx/x11/dri_glx.c | |
parent | 18f20b70b15f5daed28eb9f4fce1eccd46cf82d3 (diff) |
dri2: support glXWaitX & glXWaitGL by using fake front buffer.
Diffstat (limited to 'src/glx/x11/dri_glx.c')
-rw-r--r-- | src/glx/x11/dri_glx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/dri_glx.c b/src/glx/x11/dri_glx.c index 44724d2c7d0..3089aa17285 100644 --- a/src/glx/x11/dri_glx.c +++ b/src/glx/x11/dri_glx.c @@ -655,6 +655,8 @@ static __GLXDRIscreen *driCreateScreen(__GLXscreenConfigs *psc, int screen, psp->createContext = driCreateContext; psp->createDrawable = driCreateDrawable; psp->swapBuffers = driSwapBuffers; + psp->waitX = NULL; + psp->waitGL = NULL; return psp; } |