aboutsummaryrefslogtreecommitdiff
path: root/3rdparty/imgui/source/backends/imgui_impl_opengl3.cpp
diff options
context:
space:
mode:
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)