Add platform check
This commit is contained in:
@ -77,8 +77,14 @@ using namespace gl;
|
||||
#elif defined(IMGUI_IMPL_OPENGL_LOADER_EPOXY)
|
||||
#include <epoxy/gl.h>
|
||||
#else
|
||||
#if defined(__APPLE__)
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/gl3.h>
|
||||
#else
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#include <SDL2/SDL_opengles2.h>
|
||||
#include <SDL2/SDL_opengles2_gl2.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user