mutter/tests/conform/test-no-gl-header.c

19 lines
333 B
C
Raw Normal View History

#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");
}