summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2005-06-13 14:21:34 +0000
committerJon Smirl <jonsmirl@gmail.com>2005-06-13 14:21:34 +0000
commit6b9d9c503945f20fbf471ec9936e13a7bac6c60c (patch)
tree22f4cc5e735eee1a93c548c91485d89ac6cbdbe8
parent2d218885ecb0bf82cbfd33da1b9186bf6e09375b (diff)
fbSwapBuffers needs to return a status
-rw-r--r--src/mesa/drivers/dri/fb/fb_egl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c
index 977275c33c..a04ac129fc 100644
--- a/src/mesa/drivers/dri/fb/fb_egl.c
+++ b/src/mesa/drivers/dri/fb/fb_egl.c
@@ -836,7 +836,9 @@ fbSwapBuffers(_EGLDriver *drv, EGLDisplay dpy, EGLSurface draw)
else {
/* XXX this shouldn't be an error but we can't handle it for now */
_mesa_problem(NULL, "fbSwapBuffers: drawable has no context!\n");
+ return EGL_FALSE;
}
+ return EGL_TRUE;
}