Changeset 342


Ignore:
Timestamp:
05/29/09 14:35:04 (4 years ago)
Author:
jeremyhu@…
Message:

Avoid warnings about redefined macros in gl.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • AppleSGLX/trunk/include/GL/gl.h.template

    r318 r342  
    5555 
    5656/* Restore our GLEXT-fu */ 
     57#undef GL_GLEXT_FUNCTION_POINTERS 
    5758#ifdef _GL_GLEXT_FUNCTION_POINTERS 
    5859#define GL_GLEXT_FUNCTION_POINTERS _GL_GLEXT_FUNCTION_POINTERS 
    59 #else 
    60 #undef GL_GLEXT_FUNCTION_POINTERS 
     60#undef _GL_GLEXT_FUNCTION_POINTERS 
    6161#endif 
    6262 
     63#undef GL_GLEXT_PROTOTYPES 
    6364#ifdef _GL_GLEXT_PROTOTYPES 
    6465#define GL_GLEXT_PROTOTYPES _GL_GLEXT_PROTOTYPES 
    65 #else 
    66 #undef GL_GLEXT_PROTOTYPES 
     66#undef _GL_GLEXT_PROTOTYPES 
    6767#endif 
    6868 
     69#undef GL_GLEXT_LEGACY 
    6970#ifdef _GL_GLEXT_LEGACY 
    7071#define GL_GLEXT_LEGACY _GL_GLEXT_LEGACY 
    71 #else 
    72 #undef GL_GLEXT_LEGACY 
     72#undef _GL_GLEXT_LEGACY 
    7373#endif 
    7474 
Note: See TracChangeset for help on using the changeset viewer.