diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2016-05-06 16:08:30 +0800 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2016-07-20 14:23:48 +0800 |
commit | e05f48fc53cbb10fd9c66f8b947cf64881590b42 (patch) | |
tree | f32938eeb5758cf56b7f9163b74c276bb7ae54e4 /cogl/cogl/cogl-gl-header.h.in | |
parent | 95a68854ad90e12bf7d7d7a054956caa7d883e52 (diff) | |
download | mutter-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.in | 2 |
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 |