mutter/tests/conform/test-no-gl-header.c
Tomeu Vizoso 93d0de1d9a Mass rename CLUTTER_COMPILATION to COGL_COMPILATION
Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit a99512e5798e48ffa3a9a1a7eb98bc55647ee1b6)
2012-08-06 14:27:45 +01:00

19 lines
333 B
C

#undef COGL_COMPILATION
#include <cogl/cogl.h>
#include "test-utils.h"
/* If you just include cogl/cogl.h, you shouldn't end up including any
GL headers */
#ifdef GL_TRUE
#error "Including cogl.h shouldn't be including any GL headers"
#endif
void
test_no_gl_header (void)
{
if (cogl_test_verbose ())
g_print ("OK\n");
}