aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
diff options
context:
space:
mode:
authorhnOsmium0001 <[email protected]>2022-04-08 22:30:12 -0700
committerhnOsmium0001 <[email protected]>2022-04-08 22:30:12 -0700
commite47a98793e58a5dbbe76bfed27e59408e43538e4 (patch)
tree250eb4c4200efb63c493ac6f4adb83c89be10ea1 /3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
parent3fdc6eb4f2cbeffce9b250beec4d3a2d52a3f534 (diff)
More work
Diffstat (limited to '3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp')
-rw-r--r--3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp b/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
index 0d3489c..93f057d 100644
--- a/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
+++ b/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
@@ -1,3 +1,7 @@
+// CUSTOM ADDITIONS
+#define IMGUI_IMPL_OPENGL_LOADER_CUSTOM 1
+#include <glad/glad.h>
+
// dear imgui: Renderer Backend for modern OpenGL with shaders / programmatic pipeline
// - Desktop GL: 2.x 3.x 4.x
// - Embedded GL: ES 2.0 (WebGL 1.0), ES 3.0 (WebGL 2.0)