Fixed building on Raspberry Pi

This commit is contained in:
Sam Lantinga
2023-01-13 14:20:57 -08:00
parent 0ed4589ed2
commit bf53183c8b
6 changed files with 44 additions and 13 deletions

View File

@@ -24,7 +24,7 @@
*
* This is a simple file to encapsulate the EGL API headers.
*/
#ifdef SDL_USE_SYSTEM_EGL_HEADERS
#if !defined(_MSC_VER) && !defined(__ANDROID__) && !defined(SDL_USE_BUILTIN_OPENGL_DEFINITIONS)
#if defined(__vita__) || defined(__psp2__)
#include <psp2/types.h>
@@ -33,7 +33,7 @@
#include <EGL/egl.h>
#include <EGL/eglext.h>
#else /* !SDL_USE_SYSTEM_EGL_HEADERS */
#else /* _MSC_VER */
/* EGL headers for Visual Studio */
@@ -2349,4 +2349,4 @@ EGLAPI struct wl_buffer *EGLAPIENTRY eglCreateWaylandBufferFromImageWL (EGLDispl
#endif /* __eglext_h_ */
#endif /* SDL_USE_SYSTEM_EGL_HEADERS */
#endif /* _MSC_VER */