From 755b4605e4b88e9238260b2083b7ff1606b97930 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Wed, 12 Nov 2025 16:01:34 +0800 Subject: [PATCH] [Fix]: (MG_State/Program): fix incorrect Optfine behavior --- MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp index bb003ad7..12d48132 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp @@ -372,6 +372,7 @@ namespace MobileGL { ProgramAttrib attrib{ .shaders = Move(shaders), + .explicitAttribLocations = m_explicitAttribLocations }; MGLOG_D("ProgramObject %u: GenerateBinary - linking program for binary", m_externalIndex); auto programResult = ShaderCompiler::LinkProgram(attrib);