summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Le Duc <y@le-duc.com>2018-03-13 10:42:23 +0100
committerYannick Le Duc <y@le-duc.com>2018-03-13 10:42:23 +0100
commitb5c7e6bac9b8ba611b52c694718c7405372dd585 (patch)
tree02af8d24b68107eb0605b444614807606b2dab3d
parent965feb9521454f608fc040ec77754fbaf9ac7276 (diff)
fix iOS build - error due to GLES2 missing include (with the advice from bruvzg[m] on irc)
-rw-r--r--platform/iphone/platform_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/iphone/platform_config.h b/platform/iphone/platform_config.h
index d205c7da83..d9fd61fb6e 100644
--- a/platform/iphone/platform_config.h
+++ b/platform/iphone/platform_config.h
@@ -30,6 +30,7 @@
#include <alloca.h>
+#define GLES2_INCLUDE_H <ES2/gl.h>
#define GLES3_INCLUDE_H <ES3/gl.h>
#define PLATFORM_REFCOUNT