Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
return EGL_TRUE;
}
/* Swap failed with a window drawable. */
- _eglError(EGL_BAD_NATIVE_WINDOW, __FUNCTION__);
+ _eglError(EGL_BAD_NATIVE_WINDOW, __func__);
return EGL_FALSE;
} else {
assert(dri2_dpy->swrast);
/* No-op for a pixmap or pbuffer surface */
if (draw->Type == EGL_PIXMAP_BIT || draw->Type == EGL_PBUFFER_BIT)
- return 0;
+ return EGL_FALSE;
return loader_dri3_swap_buffers_msc(&dri3_surf->loader_drawable,
0, 0, 0, 0,