summaryrefslogtreecommitdiff
path: root/tests/conform/test-no-gl-header.c
blob: 9618d840ecf88f5ab0a6e989bbebf5239994950c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#undef COGL_COMPILATION
#include <cogl/cogl.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);

void
test_no_gl_header (void)
{
}