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)
This commit is contained in:
parent
8282cee367
commit
2ed926120d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user