mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 19:18:13 +02:00
gl-renderer: fix build with --disable-egl
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
62185f42ea
commit
445fb697a5
2 changed files with 3 additions and 1 deletions
|
|
@ -1626,7 +1626,8 @@ drm_output_init_egl(struct drm_output *output, struct drm_compositor *ec)
|
|||
}
|
||||
|
||||
if (gl_renderer->output_create(&output->base,
|
||||
output->surface, output->surface,
|
||||
(EGLNativeDisplayType)output->surface,
|
||||
output->surface,
|
||||
gl_renderer->opaque_attribs,
|
||||
&format) < 0) {
|
||||
weston_log("failed to create gl renderer output state\n");
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
#else
|
||||
|
||||
typedef int EGLint;
|
||||
typedef int EGLenum;
|
||||
typedef void *EGLDisplay;
|
||||
typedef void *EGLSurface;
|
||||
typedef intptr_t EGLNativeDisplayType;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue