From 75e5fe1dd328e8c5b8dd04c9949c6b07228623e3 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Fri, 3 Jul 2026 00:19:03 +0800 Subject: [PATCH] [Fix] (MG_State/GLState): allow combined texture unit bindings --- MobileGL/MG_State/GLState/TextureState/TextureState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MobileGL/MG_State/GLState/TextureState/TextureState.h b/MobileGL/MG_State/GLState/TextureState/TextureState.h index 5f5e4cc3..e8d85e63 100644 --- a/MobileGL/MG_State/GLState/TextureState/TextureState.h +++ b/MobileGL/MG_State/GLState/TextureState/TextureState.h @@ -37,7 +37,7 @@ namespace MobileGL::MG_State::GLState { class TextureState { public: - static constexpr int MAX_TEXTURE_IMAGE_UNITS = 32; + static constexpr int MAX_TEXTURE_IMAGE_UNITS = 192; TextureState(); void GenerateNames(Uint number, Vector& textures);