mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
93d0de1d9a
Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit a99512e5798e48ffa3a9a1a7eb98bc55647ee1b6)
19 lines
333 B
C
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");
|
|
}
|
|
|