Disable BindSamplers.

This commit is contained in:
Relintai 2024-09-14 19:47:55 +02:00
parent 23de62a08d
commit ab61a7b2df

View File

@ -209,9 +209,9 @@
#endif #endif
// Desktop GL 3.3+ and GL ES 3.0+ have glBindSampler() // 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)) //#if !defined(IMGUI_IMPL_OPENGL_ES2) && (defined(IMGUI_IMPL_OPENGL_ES3) || defined(GL_VERSION_3_3))
#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER //#define IMGUI_IMPL_OPENGL_MAY_HAVE_BIND_SAMPLER
#endif //#endif
// [Debugging] // [Debugging]
//#define IMGUI_IMPL_OPENGL_DEBUG //#define IMGUI_IMPL_OPENGL_DEBUG