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