gl-renderer: fix build with --disable-egl
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
62185f42ea
commit
445fb697a5
@@ -1626,7 +1626,8 @@ drm_output_init_egl(struct drm_output *output, struct drm_compositor *ec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (gl_renderer->output_create(&output->base,
|
if (gl_renderer->output_create(&output->base,
|
||||||
output->surface, output->surface,
|
(EGLNativeDisplayType)output->surface,
|
||||||
|
output->surface,
|
||||||
gl_renderer->opaque_attribs,
|
gl_renderer->opaque_attribs,
|
||||||
&format) < 0) {
|
&format) < 0) {
|
||||||
weston_log("failed to create gl renderer output state\n");
|
weston_log("failed to create gl renderer output state\n");
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
typedef int EGLint;
|
typedef int EGLint;
|
||||||
|
typedef int EGLenum;
|
||||||
typedef void *EGLDisplay;
|
typedef void *EGLDisplay;
|
||||||
typedef void *EGLSurface;
|
typedef void *EGLSurface;
|
||||||
typedef intptr_t EGLNativeDisplayType;
|
typedef intptr_t EGLNativeDisplayType;
|
||||||
|
|||||||
Reference in New Issue
Block a user