summaryrefslogtreecommitdiff
path: root/cogl/cogl/cogl-gl-header.h.in
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2016-05-06 16:08:30 +0800
committerJonas Ådahl <jadahl@gmail.com>2016-07-20 14:23:48 +0800
commite05f48fc53cbb10fd9c66f8b947cf64881590b42 (patch)
treef32938eeb5758cf56b7f9163b74c276bb7ae54e4 /cogl/cogl/cogl-gl-header.h.in
parent95a68854ad90e12bf7d7d7a054956caa7d883e52 (diff)
downloadmutter-e05f48fc53cbb10fd9c66f8b947cf64881590b42.tar.gz
Make it possible to include private cogl API from mutter
If we want to put a cogl winsys backend in mutter, that backend need to have access to the internal workings of cogl. https://bugzilla.gnome.org/show_bug.cgi?id=768976
Diffstat (limited to 'cogl/cogl/cogl-gl-header.h.in')
-rw-r--r--cogl/cogl/cogl-gl-header.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl/cogl-gl-header.h.in b/cogl/cogl/cogl-gl-header.h.in
index 0696dcf72..a6659e92f 100644
--- a/cogl/cogl/cogl-gl-header.h.in
+++ b/cogl/cogl/cogl-gl-header.h.in
@@ -28,7 +28,7 @@
*
*/
-#if !defined(COGL_COMPILATION)
+#if !defined(COGL_COMPILATION) && !defined(COGL_ENABLE_MUTTER_API)
#error "cogl-gl-header.h should only be included when compiling Cogl"
#endif