You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
17 lines
379 B
6 years ago
|
#if !defined(PGOPENGL_H)
|
||
|
#define PGOPENGL_H
|
||
|
|
||
|
/** This header includes definitions of Opengl functions as pointer types for
|
||
|
** use with the SDL function SDL_GL_GetProcAddress.
|
||
|
**/
|
||
|
|
||
|
#if defined(_WIN32)
|
||
|
#define GL_APIENTRY __stdcall
|
||
|
#else
|
||
|
#define GL_APIENTRY
|
||
|
#endif
|
||
|
|
||
|
typedef void (GL_APIENTRY *GL_glReadPixels_Func)(int, int, int, int, unsigned int, unsigned int, void*);
|
||
|
|
||
|
#endif
|