[Fix]: (MG_State/Program): fix incorrect Optfine behavior

This commit is contained in:
2025-11-12 16:01:34 +08:00
parent 9bc0ae6b97
commit 755b4605e4
@@ -372,6 +372,7 @@ namespace MobileGL {
ProgramAttrib attrib{ ProgramAttrib attrib{
.shaders = Move(shaders), .shaders = Move(shaders),
.explicitAttribLocations = m_explicitAttribLocations
}; };
MGLOG_D("ProgramObject %u: GenerateBinary - linking program for binary", m_externalIndex); MGLOG_D("ProgramObject %u: GenerateBinary - linking program for binary", m_externalIndex);
auto programResult = ShaderCompiler::LinkProgram(attrib); auto programResult = ShaderCompiler::LinkProgram(attrib);