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