src/video/SDL_video.c
changeset 7212 81b0d4773d47
parent 7210 5b35f3e503c4
child 7269 f7a0cc4bf74d
     1.1 --- a/src/video/SDL_video.c	Tue May 21 22:35:13 2013 -0700
     1.2 +++ b/src/video/SDL_video.c	Wed May 22 01:36:37 2013 -0400
     1.3 @@ -2392,6 +2392,9 @@
     1.4              return SDL_FALSE;
     1.5          }
     1.6  
     1.7 +        #ifndef GL_NUM_EXTENSIONS
     1.8 +        #define GL_NUM_EXTENSIONS 0x821D
     1.9 +        #endif
    1.10          glGetIntegervFunc(GL_NUM_EXTENSIONS, &num_exts);
    1.11          for (i = 0; i < num_exts; i++) {
    1.12              const char *thisext = (const char *) glGetStringiFunc(GL_EXTENSIONS, i);