18 lines
286 B
C
Raw Normal View History

2017-04-14 19:02:05 +02:00
#ifdef _WIN32
2018-08-09 18:06:22 +02:00
# include <windows.h>
2017-04-14 19:02:05 +02:00
#endif
#ifdef __APPLE__
2018-08-09 18:06:22 +02:00
# include <OpenGL/gl.h>
2017-04-14 19:02:05 +02:00
#else
2018-08-09 18:06:22 +02:00
# include <GL/gl.h>
2017-04-14 19:02:05 +02:00
#endif
#include <stdio.h>
int main()
{
/* Reference a GL symbol without requiring a context at runtime. */
printf("&glGetString = %p\n", &glGetString);
return 0;
}