|
@@ -51,7 +51,12 @@
|
|
#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339
|
|
#define EGL_COLOR_COMPONENT_TYPE_EXT 0x3339
|
|
#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A
|
|
#define EGL_COLOR_COMPONENT_TYPE_FIXED_EXT 0x333A
|
|
#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B
|
|
#define EGL_COLOR_COMPONENT_TYPE_FLOAT_EXT 0x333B
|
|
-#endif
|
|
|
|
|
|
+#endif // EGL_EXT_pixel_format_float
|
|
|
|
+
|
|
|
|
+#ifndef EGL_EXT_platform_device
|
|
|
|
+#define EGL_EXT_platform_device 1
|
|
|
|
+#define EGL_PLATFORM_DEVICE_EXT 0x313F
|
|
|
|
+#endif // EGL_EXT_platform_device
|
|
|
|
|
|
#ifndef EGL_EXT_present_opaque
|
|
#ifndef EGL_EXT_present_opaque
|
|
#define EGL_EXT_present_opaque 1
|
|
#define EGL_EXT_present_opaque 1
|
|
@@ -111,13 +116,6 @@
|
|
#include <SDL3/SDL_opengl.h>
|
|
#include <SDL3/SDL_opengl.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-/** If we happen to not have this defined because of an older EGL version, just define it 0x0
|
|
|
|
- as eglGetPlatformDisplayEXT will most likely be NULL if this is missing
|
|
|
|
-*/
|
|
|
|
-#ifndef EGL_PLATFORM_DEVICE_EXT
|
|
|
|
-#define EGL_PLATFORM_DEVICE_EXT 0x0
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
#ifdef SDL_VIDEO_OPENGL
|
|
#ifdef SDL_VIDEO_OPENGL
|
|
typedef void (APIENTRY* PFNGLGETINTEGERVPROC) (GLenum pname, GLint * params);
|
|
typedef void (APIENTRY* PFNGLGETINTEGERVPROC) (GLenum pname, GLint * params);
|
|
#endif
|
|
#endif
|