summaryrefslogtreecommitdiffstats
path: root/Tests/FindOpenGL/Test/main.c
blob: 88a4a8ab973aea0cce44455af37cee83e3ea08ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifdef _WIN32
#  include <windows.h>
#endif
#ifdef __APPLE__
#  include <OpenGL/gl.h>
#else
#  include <GL/gl.h>
#endif

#include <stdio.h>

int main(void)
{
  /* Reference a GL symbol without requiring a context at runtime.  */
  printf("&glGetString = %p\n", &glGetString);
  return 0;
}