Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers

This commit is contained in:
Sam Lantinga 2021-10-21 20:48:08 -07:00
parent b360965d0d
commit 8f58bb9cf8
2 changed files with 2 additions and 3 deletions

View file

@ -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>