]> git.tdb.fi Git - libs/gl.git/commitdiff
Fix an incorrect variable name
authorMikko Rasa <tdb@tdb.fi>
Thu, 7 Apr 2022 20:54:10 +0000 (23:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 7 Apr 2022 20:54:10 +0000 (23:54 +0300)
source/backends/opengl/program_backend.cpp

index ce865cf3a0b53417dc0463902d5f9bd20a623b04..f90315c0dd3e5373a6b3cb363f079e981087564c 100644 (file)
@@ -445,7 +445,7 @@ void OpenGLProgram::query_attributes()
                }
        }
 
-       sort_member(reflect_data.attributes, &ReflectData::AttributeInfo::name);
+       sort_member(rd.attributes, &ReflectData::AttributeInfo::name);
 }
 
 void OpenGLProgram::finalize_uniforms()