main.c 280 B

1234567891011121314151617
  1. #ifdef _WIN32
  2. #include <windows.h>
  3. #endif
  4. #ifdef __APPLE__
  5. #include <OpenGL/gl.h>
  6. #else
  7. #include <GL/gl.h>
  8. #endif
  9. #include <stdio.h>
  10. int main()
  11. {
  12. /* Reference a GL symbol without requiring a context at runtime. */
  13. printf("&glGetString = %p\n", &glGetString);
  14. return 0;
  15. }