gl-renderer: fix build with --disable-egl

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Jonny Lamb 10 years ago committed by Pekka Paalanen
parent 62185f42ea
commit 445fb697a5
  1. 3
      src/compositor-drm.c
  2. 1
      src/gl-renderer.h

@ -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…
Cancel
Save