Files
CMake/Tests/FindOpenGL/Test/main.c
2023-10-26 09:20:45 -04:00

18 lines
290 B
C

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