diff --git a/cogl/cogl-framebuffer.c b/cogl/cogl-framebuffer.c index f18abf1da..cdf5f8d26 100644 --- a/cogl/cogl-framebuffer.c +++ b/cogl/cogl-framebuffer.c @@ -104,6 +104,10 @@ #ifndef GL_TEXTURE_SAMPLES_IMG #define GL_TEXTURE_SAMPLES_IMG 0x9136 #endif +#ifndef GL_PACK_INVERT_MESA +#define GL_PACK_INVERT_MESA 0x8758 +#endif + typedef enum { _TRY_DEPTH_STENCIL = 1L<<0, diff --git a/cogl/cogl.c b/cogl/cogl.c index 8bc48e8d0..b60f838c7 100644 --- a/cogl/cogl.c +++ b/cogl/cogl.c @@ -51,10 +51,6 @@ #include "cogl1-context.h" #include "cogl-offscreen.h" -#ifndef GL_PACK_INVERT_MESA -#define GL_PACK_INVERT_MESA 0x8758 -#endif - #ifdef COGL_GL_DEBUG /* GL error to string conversion */ static const struct {