SDL_opengl: Fix Mac build with new glext.h
This commit is contained in:
parent
65133ebc1b
commit
d623c0b443
2 changed files with 2 additions and 1 deletions
|
@ -50,6 +50,7 @@
|
|||
#define __glext_h_ /* Don't let gl.h include glext.h */
|
||||
#endif
|
||||
#if defined(__MACOSX__)
|
||||
#include <stddef.h> /* Needed for ptrdiff_t */
|
||||
#include <OpenGL/gl.h> /* Header File For The OpenGL Library */
|
||||
#define __X_GL_H
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue