projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d21888
)
fbSwapBuffers needs to return a status
author
Jon Smirl
<jonsmirl@gmail.com>
Mon, 13 Jun 2005 14:21:34 +0000
(14:21 +0000)
committer
Jon Smirl
<jonsmirl@gmail.com>
Mon, 13 Jun 2005 14:21:34 +0000
(14:21 +0000)
src/mesa/drivers/dri/fb/fb_egl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/fb/fb_egl.c
b/src/mesa/drivers/dri/fb/fb_egl.c
index 977275c33c7277b5bd608cf6b6bfca23bf174656..a04ac129fcdb6feb9683066968cd049ad534b44a 100644
(file)
--- 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;
}