mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-07 19:58:32 +09:00
[Fix]: (MG_State/Program): fix incorrect Optfine behavior
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user