Mesa (gallium-mesa-7.4): egl: add a temporary flush

Alan Hourihane alanh at kemper.freedesktop.org
Fri Feb 6 14:55:25 UTC 2009


Module: Mesa
Branch: gallium-mesa-7.4
Commit: a5cfdf3bc8a9dfbde44360abb0e99a3c1e4d68ad
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a5cfdf3bc8a9dfbde44360abb0e99a3c1e4d68ad

Author: Alan Hourihane <alanh at vmware.com>
Date:   Fri Feb  6 14:54:53 2009 +0000

egl: add a temporary flush

---

 src/egl/drivers/glx/egl_glx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c
index 8ba70ba..4f64103 100644
--- a/src/egl/drivers/glx/egl_glx.c
+++ b/src/egl/drivers/glx/egl_glx.c
@@ -777,6 +777,7 @@ GLX_eglSwapBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw)
    if (!_eglSwapBuffers(drv, dpy, draw))
       return EGL_FALSE;
 
+   glFlush(); /* temporary */
    glXSwapBuffers(disp->Xdpy, GLX_surf->drawable);
 
    return EGL_TRUE;




More information about the mesa-commit mailing list