mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
cogl-gles2: Don't leak gles2 types into mutter
On i686, the GLsizeiptr typedef in cogl-gles2.h conflicts with the system GL headers, so make sure we don't include both. https://bugzilla.gnome.org/show_bug.cgi?id=769014
This commit is contained in:
parent
76175a48d5
commit
991f2d696a
@ -65,7 +65,7 @@
|
||||
* conflicts we only expose the minimal set of GLES 2.0 types and enums
|
||||
* publicly.
|
||||
*/
|
||||
#ifdef COGL_COMPILATION
|
||||
#if defined(COGL_COMPILATION) || defined(COGL_ENABLE_MUTTER_API)
|
||||
#include "cogl-gl-header.h"
|
||||
#else
|
||||
#include <cogl/cogl-gles2-types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user