1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/sdl2/khronos.patch
2020-04-06 21:59:03 +00:00

18 lines
536 B
Diff

From: sndirsch@suse.com
Date: 2019-10-09 14:00:03+0000
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1153455
--- a/include/SDL_opengl_glext.h
+++ b/include/SDL_opengl_glext.h
@@ -472,8 +472,9 @@
typedef long GLsizeiptr;
typedef long GLintptr;
#else
-typedef ptrdiff_t GLsizeiptr;
-typedef ptrdiff_t GLintptr;
+#include <KHR/khrplatform.h>
+typedef khronos_ssize_t GLsizeiptr;
+typedef khronos_intptr_t GLintptr;
#endif
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765