mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-24 20:18:29 +00:00
SDL_opengl: Fix Mac build with new glext.h
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user