From 2ed926120d11a3ef5fe51d613e79568b36259ddf Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 30 May 2013 13:57:56 +0100 Subject: [PATCH] Fix a warning in the EGL winsys _cogl_egl_query_wayland_buffer was using _COGL_RETURN_IF_FAIL but the function needs to return a CoglBool so it was giving a warning. (cherry picked from commit d0290eb19fc9bf56fb24f8eab573e19966ea7e1a) --- cogl/winsys/cogl-winsys-egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/winsys/cogl-winsys-egl.c b/cogl/winsys/cogl-winsys-egl.c index 63f224f98..b127bc0a3 100644 --- a/cogl/winsys/cogl-winsys-egl.c +++ b/cogl/winsys/cogl-winsys-egl.c @@ -1051,7 +1051,7 @@ _cogl_egl_query_wayland_buffer (CoglContext *ctx, { CoglRendererEGL *egl_renderer = ctx->display->renderer->winsys; - _COGL_RETURN_IF_FAIL (egl_renderer->pf_eglQueryWaylandBuffer); + _COGL_RETURN_VAL_IF_FAIL (egl_renderer->pf_eglQueryWaylandBuffer, FALSE); return egl_renderer->pf_eglQueryWaylandBuffer (egl_renderer->edpy, buffer,