Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pygame/pgopengl.h
blob: 7f9fd9511bdc283d99b8523e4fead6884f5eb5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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