forked from jengelh/SDL2
Jan Engelhardt
bd4110cc08
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=94
20 lines
727 B
Diff
20 lines
727 B
Diff
From: sndirsch@suse.com
|
|
Date: 2019-10-09 14:00:03+0000
|
|
References: https://bugzilla.opensuse.org/show_bug.cgi?id=1153455
|
|
|
|
diff -u -r SDL2-2.0.10.orig/include/SDL_opengl_glext.h SDL2-2.0.10/include/SDL_opengl_glext.h
|
|
--- SDL2-2.0.10.orig/include/SDL_opengl_glext.h 2019-10-09 15:30:46.237981000 +0200
|
|
+++ SDL2-2.0.10/include/SDL_opengl_glext.h 2019-10-09 15:31:37.783940000 +0200
|
|
@@ -469,8 +469,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
|