X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fvoglcommon%2Fvogl_program_state.cpp;h=5998a4149bd4e175d07a2c4d6a205ce91ecea702;hb=311d1014add8ac2b16e4a9b8687e1f69cae180cd;hp=bfc8a99f094ffeaa084db2697cf5a0970a96750a;hpb=194b65d22125939daa45a08987eea4b6f19360db;p=vogl diff --git a/src/voglcommon/vogl_program_state.cpp b/src/voglcommon/vogl_program_state.cpp index bfc8a99..5998a41 100644 --- a/src/voglcommon/vogl_program_state.cpp +++ b/src/voglcommon/vogl_program_state.cpp @@ -779,7 +779,7 @@ bool vogl_program_state::restore_uniforms(uint32 handle32, const vogl_context_in const GLint restore_location = restore_uniform.m_base_location; for (uint i = 0; i < array_size; i++) - remapper.declare_location(m_snapshot_handle, handle32, restore_uniform.m_base_location + i, restore_location + i); + remapper.declare_location(m_snapshot_handle, handle32, trace_uniform.m_base_location + i, restore_location + i); if (array_size) {