From afcc892b32b183fbce4531472f41bcfe7320fe18 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Wed, 25 Jun 2025 17:02:34 +0800 Subject: [PATCH] [Misc] (MG_GL/Getter): return real GL_MAX_VERTEX_ATTRIBS value --- MG/MG_GL/Implementations/GL/Getter/GL_Getter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MG/MG_GL/Implementations/GL/Getter/GL_Getter.cpp b/MG/MG_GL/Implementations/GL/Getter/GL_Getter.cpp index e950b7a5..2ca5b160 100644 --- a/MG/MG_GL/Implementations/GL/Getter/GL_Getter.cpp +++ b/MG/MG_GL/Implementations/GL/Getter/GL_Getter.cpp @@ -187,7 +187,7 @@ namespace MG_GL::GL { break; case GL_MAX_VERTEX_ATTRIBS: // TODO: Check the real value - params[0] = 64; + params[0] = MG_Constants::VertexArray::MAX_VERTEX_ATTRIBS; break; // Texture state