Source

pygame / src / imageext.c

Diff from to

File src/imageext.c

 #include <jpeglib.h>
 #include "pygame.h"
 #include "pygamedocs.h"
+#include "pgopengl.h"
 #include <SDL_image.h>
 
 static char*
     Uint32 rmask, gmask, bmask;
     int i;
     unsigned char *pixels;
-#ifdef _WIN32
-    typedef void __stdcall (*GL_glReadPixels_Func)(int, int, int, int, unsigned int, unsigned int, void*);
-#else
-    typedef void (*GL_glReadPixels_Func)(int, int, int, int, unsigned int, unsigned int, void*);
-#endif
 
     GL_glReadPixels_Func p_glReadPixels= NULL;
     pixels = NULL;