As the spec says:
EGL_BAD_NATIVE_PIXMAP is generated if the implementation
does not support native pixmaps.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
#ifndef EGL_DRI2_FALLBACKS_INCLUDED
#define EGL_DRI2_FALLBACKS_INCLUDED
+#include "eglcurrent.h"
#include "egltypedefs.h"
struct wl_buffer;
_EGLSurface *surf,
void *native_pixmap_target)
{
- return EGL_FALSE;
+ return _eglError(EGL_BAD_NATIVE_PIXMAP, "no support for native pixmaps");
}
static inline EGLBoolean