pgopengl.h 379 B

12345678910111213141516
  1. #if !defined(PGOPENGL_H)
  2. #define PGOPENGL_H
  3. /** This header includes definitions of Opengl functions as pointer types for
  4. ** use with the SDL function SDL_GL_GetProcAddress.
  5. **/
  6. #if defined(_WIN32)
  7. #define GL_APIENTRY __stdcall
  8. #else
  9. #define GL_APIENTRY
  10. #endif
  11. typedef void (GL_APIENTRY *GL_glReadPixels_Func)(int, int, int, int, unsigned int, unsigned int, void*);
  12. #endif