fixed wrong return value in radeonShowSurfaceMESA()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 23 Nov 2005 01:39:56 +0000 (01:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 23 Nov 2005 01:39:56 +0000 (01:39 +0000)
src/mesa/drivers/dri/radeon/server/radeon_egl.c

index 736fed5b5c67cca9fc22e4f833ffdd4cffa64625..ca77bdeb93547f9c8e34fecfa1cc0e6f2ac02c20 100644 (file)
@@ -910,8 +910,8 @@ static EGLBoolean
 radeonShowSurfaceMESA(_EGLDriver *drv, EGLDisplay dpy, EGLScreenMESA screen,
                     EGLSurface surface, EGLModeMESA m)
 {
-   _eglDRIShowSurfaceMESA(drv, dpy, screen, surface, m);
-   return EGL_FALSE;
+   EGLBoolean b = _eglDRIShowSurfaceMESA(drv, dpy, screen, surface, m);
+   return b;
 }
 
 static EGLBoolean