fbdev: Fix compilation without EGL
We have to duplicate #defines and typedefs for the EGL types and constants we use in gl-renderer.h so we can compile the fbdev backend without EGL. https://bugs.freedesktop.org/show_bug.cgi?id=70392
This commit is contained in:
@@ -56,6 +56,7 @@ typedef void *EGLDisplay;
|
|||||||
typedef void *EGLSurface;
|
typedef void *EGLSurface;
|
||||||
typedef intptr_t EGLNativeDisplayType;
|
typedef intptr_t EGLNativeDisplayType;
|
||||||
typedef intptr_t EGLNativeWindowType;
|
typedef intptr_t EGLNativeWindowType;
|
||||||
|
#define EGL_DEFAULT_DISPLAY NULL
|
||||||
|
|
||||||
static const EGLint gl_renderer_opaque_attribs[];
|
static const EGLint gl_renderer_opaque_attribs[];
|
||||||
static const EGLint gl_renderer_alpha_attribs[];
|
static const EGLint gl_renderer_alpha_attribs[];
|
||||||
|
|||||||
Reference in New Issue
Block a user