Source

pygame / support / make_constants.py

Diff from to

File support/make_constants.py

             else:
                 num = int(num)
             name = match.groups()[0]
-            if name[:3] != 'GL_':
-                defines.append('%s = 0x%08x\n' % (name, num))
+            defines.append('%s = 0x%08x\n' % (name, num))
         except ValueError:
             pass
     return defines 
     for file in os.listdir(include_dir):
         if file[-2:] == '.h':
             if file[:10] == 'SDL_config' or \
-               file in ('SDL_platform.h',):
+               file in ('SDL_platform.h','SDL_opengl.h'):
                 continue
             defines = get_file_defines(os.path.join(include_dir, file))
             if defines: