mirror of https://github.com/encounter/SDL.git
Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers
This commit is contained in:
parent
b360965d0d
commit
8f58bb9cf8
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
* This is a simple file to encapsulate the EGL API headers.
|
||||
*/
|
||||
#if !defined(_MSC_VER) && !defined(__ANDROID__)
|
||||
#if !defined(_MSC_VER) && !defined(__ANDROID__) && !defined(SDL_USE_BUILTIN_OPENGL_DEFINITIONS)
|
||||
|
||||
#if defined(__vita__) || defined(__psp2__)
|
||||
#include <psp2/types.h>
|
||||
|
@ -1676,5 +1676,4 @@ EGLAPI EGLuint64NV EGLAPIENTRY eglGetSystemTimeNV (void);
|
|||
|
||||
#endif /* __eglext_h_ */
|
||||
|
||||
|
||||
#endif /* _MSC_VER */
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#if !defined(_MSC_VER) && !defined(SDL_USE_BUILTIN_OPENGL_DEFINITIONS)
|
||||
|
||||
#ifdef __IPHONEOS__
|
||||
#include <OpenGLES/ES2/gl.h>
|
||||
|
|
Loading…
Reference in New Issue