summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorReece Mackie <[email protected]>2020-04-30 18:48:39 +0100
committerGitHub <[email protected]>2020-04-30 19:48:39 +0200
commit4b0386081037172222d91f0ccca93e5810fed84b (patch)
tree3a554752c00af2255a4caecb553e19cd4b37cb7f /src/rlgl.h
parent2f454aa4b051d000daab0dd71417a716af095e91 (diff)
downloadraylib-4b0386081037172222d91f0ccca93e5810fed84b.tar.gz
raylib-4b0386081037172222d91f0ccca93e5810fed84b.zip
UWP rework (#1231)
* First draft of UWP rework. * Read desc - Moved UWP specific functions to uwp_events.h - Removed BaseApp. - Implemented example UWP lifecycle. * Added GIF recording and screenshot support. * Character inputs and filesystem stuff * Fix game closing on Xbox when B is pressed. * Fix the gamepad binding hack * Add as many keys as I believe are possible. * Implemented mouse locking of a sort. * Remove rogue todo, the rest are for a game dev using this example. * Implemented touch how I "think" it should work. I cant test this. * Review.
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 72a6e398..0960afea 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -663,6 +663,7 @@ RLAPI int GetPixelDataSize(int width, int height, int format);// Get pixel data
#endif
#if defined(GRAPHICS_API_OPENGL_ES2)
+ #define GL_GLEXT_PROTOTYPES
#include <EGL/egl.h> // EGL library
#include <GLES2/gl2.h> // OpenGL ES 2.0 library
#include <GLES2/gl2ext.h> // OpenGL ES 2.0 extensions library