#define GL_SILENCE_DEPRECATION #if defined(IMGUI_IMPL_OPENGL_ES2) #include #else #include "imgui/imgui_impl_opengl2.h" #endif #include // Will drag system OpenGL headers