From 6b9d9c503945f20fbf471ec9936e13a7bac6c60c Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Mon, 13 Jun 2005 14:21:34 +0000 Subject: [PATCH] fbSwapBuffers needs to return a status --- src/mesa/drivers/dri/fb/fb_egl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/fb/fb_egl.c b/src/mesa/drivers/dri/fb/fb_egl.c index 977275c33c7..a04ac129fcd 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; } -- 2.30.2