fbSwapBuffers needs to return a status

This commit is contained in:
Jon Smirl 2005-06-13 14:21:34 +00:00
parent 2d218885ec
commit 6b9d9c5039
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}