Created attachment 87491 [details]
Fix fbdev compositor without EGL
In weston-1.3.0, the fbdev compositor does not build when EGL is disabled:
compositor-fbdev.c:924:45: error: 'EGL_DEFAULT_DISPLAY' undeclared (first use in this function)
This is due to code added by cset #4aa756dc (add libhybris support):
compositor-fbdev.c:924: if (gl_renderer_create(&compositor->base, EGL_DEFAULT_DISPLAY,
Attached patch to hopefully /fix/ this.
Author: Kristian Høgsberg <email@example.com>
Date: Fri Oct 11 15:25:42 2013 -0700
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.