SDL2: fix build

This commit is contained in:
Jürgen Buchmüller 2020-01-06 00:11:49 +01:00
parent 761f92ec3a
commit 0b9b47da0d

View file

@ -0,0 +1,13 @@
--- include/SDL_opengl_glext.h 2019-07-25 06:32:36.000000000 +0200
+++ include/SDL_opengl_glext.h 2019-12-13 01:24:33.908796188 +0100
@@ -469,9 +469,10 @@
typedef long GLsizeiptr;
typedef long GLintptr;
#else
+#define GL_VERSION_ES_CM_1_0 1 /* Avoid redifinition in /usr/include/GLES/gl.h */
typedef ptrdiff_t GLsizeiptr;
typedef ptrdiff_t GLintptr;
#endif
#define GL_BUFFER_SIZE 0x8764
#define GL_BUFFER_USAGE 0x8765
#define GL_QUERY_COUNTER_BITS 0x8864