summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 1011f27665a..1bce314fa99 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -1623,10 +1623,10 @@ dri2_query_wayland_buffer_wl(_EGLDriver *drv, _EGLDisplay *disp,
return EGL_TRUE;
case EGL_WIDTH:
*value = buffer->buffer.width;
- break;
+ return EGL_TRUE;
case EGL_HEIGHT:
*value = buffer->buffer.height;
- break;
+ return EGL_TRUE;
}
return EGL_FALSE;