From ab61a7b2df67e41d2efa27125edb177a8b266e2e Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 14 Sep 2024 19:47:55 +0200 Subject: [PATCH] Disable BindSamplers. --- sfw/render_gui/imgui_impl_opengl3.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfw/render_gui/imgui_impl_opengl3.cpp b/sfw/render_gui/imgui_impl_opengl3.cpp index a5e21f8..ec63abe 100644 --- a/sfw/render_gui/imgui_impl_opengl3.cpp +++ b/sfw/render_gui/imgui_impl_opengl3.cpp @@ -209,9 +209,9 @@ #endif // Desktop GL 3.3+ and GL ES 3.0+ have glBindSampler() -#if !defined(IMGUI_IMPL_OPENGL_ES2) && (defined(IMGUI_IMPL_OPENGL_ES3) || defined(GL_VERSION_3_3)) -#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER -#endif +//#if !defined(IMGUI_IMPL_OPENGL_ES2) && (defined(IMGUI_IMPL_OPENGL_ES3) || defined(GL_VERSION_3_3)) +//#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER +//#endif // [Debugging] //#define IMGUI_IMPL_OPENGL_DEBUG