diff --git a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp index 0b035aa0..099eae53 100644 --- a/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp +++ b/MobileGL/MG_State/GLState/ProgramState/ProgramObject.cpp @@ -86,7 +86,7 @@ namespace MobileGL { MG_Util::ShaderTranspiler::ProgramAttrib attrib{ .shaders = Move(shaders), - .explicitAttribLocations = m_explicitAttribLocations + .explicitVertexInLocations = m_explicitAttribLocations }; MGLOG_D("ProgramObject %u: Calling ShaderCompiler::LinkProgram", m_externalIndex); @@ -376,7 +376,7 @@ namespace MobileGL { ProgramAttrib attrib{ .shaders = Move(shaders), - .explicitAttribLocations = m_explicitAttribLocations + .explicitVertexInLocations = m_explicitAttribLocations }; MGLOG_D("ProgramObject %u: GenerateBinary - linking program for binary", m_externalIndex); auto programResult = ShaderCompiler::LinkProgram(attrib); diff --git a/MobileGL/MG_Test/Program/ProgramUtilTest.cpp b/MobileGL/MG_Test/Program/ProgramUtilTest.cpp index dfc33bff..c4548b39 100644 --- a/MobileGL/MG_Test/Program/ProgramUtilTest.cpp +++ b/MobileGL/MG_Test/Program/ProgramUtilTest.cpp @@ -396,7 +396,7 @@ TEST_F(ProgramUtilTest, CompileAndLinkBlitProgram) { ProgramAttrib programAttrib{// .shaderTypes = { GL_VERTEX_SHADER, GL_FRAGMENT_SHADER }, .shaders = {vs_res.value(), fs_res.value()}, - .explicitAttribLocations = attribLocations + .explicitVertexInLocations = attribLocations }; auto program_res = ShaderCompiler::LinkProgram(programAttrib);