mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 06:34:09 +00:00

Since Cogl version 1.11.2, Cogl no longer includes the EGL headers from cogl.h if COGL_ENABLE_EXPERIMENTAL_2_0_API is defined. Instead the application needs to include cogl-egl.h so that we can avoid polluting the global namespace with X defines. Clutter defines the 2.0 define in its configure.ac and it is relying on Cogl to include the right EGL header in clutter-egl-headers.h so we need to change which header it includes.