impr: Move OpenGL loaders into header to avoid issues in the future

This commit is contained in:
WerWolv
2023-11-20 23:58:49 +01:00
parent 3da209b562
commit fc23efdb25
6 changed files with 17 additions and 39 deletions

View File

@@ -10,13 +10,7 @@
#include <imgui.h>
#include <implot.h>
#if defined(OS_WEB)
#define GLFW_INCLUDE_ES3
#include <GLES3/gl3.h>
#else
#include <imgui_impl_opengl3_loader.h>
#endif
#include <opengl_support.h>
#include <GLFW/glfw3.h>
#include <hex/ui/imgui_imhex_extensions.h>