1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 01:20:55 +01:00

imgui_impl_opengl3.cpp Using GLES3 on IOS instead of gl3w. (#2002, #1873)

Not modifying the main.cpp yet because we need to test GL ES 3 context creation on iOS (only imgui_impl_opengl3.cpp was tested).
This commit is contained in:
omar 2018-08-08 17:38:18 +02:00
parent 0065fe16a2
commit 35124cdd07

View File

@ -57,8 +57,11 @@
#else
#include <stdint.h> // intptr_t
#endif
#if defined(__APPLE__)
#include "TargetConditionals.h"
#endif
#ifdef __EMSCRIPTEN__
#if (defined(__APPLE__) && TARGET_OS_IOS) || (defined(__EMSCRIPTEN__))
#include <GLES3/gl3.h> // Use GL ES 3
#else
// About OpenGL function loaders: