Skip to content

Commit

Permalink
fix bug #5216: SDL_opengl.h: define __gl_glext_h_ along with __glext_h_.
Browse files Browse the repository at this point in the history
newer mesa header guard is __gl_glext_h_.  partially fixes bug #5216.
  • Loading branch information
sezero committed Jul 4, 2020
1 parent b67a1d4 commit 5c01b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -35,6 +35,7 @@
#endif
#ifndef NO_SDL_GLEXT
#define __glext_h_ /* Don't let gl.h include glext.h */
#define __gl_glext_h_ /* Don't let gl.h include glext.h */
#endif
#if defined(__MACOSX__)
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */
Expand All @@ -48,6 +49,7 @@
#endif
#ifndef NO_SDL_GLEXT
#undef __glext_h_
#undef __gl_glext_h_
#endif

/** @name GLext.h
Expand Down

0 comments on commit 5c01b86

Please sign in to comment.