Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 1020 vs 1021 for /trunk/Source Code/Platform/Video/OpenGL/Shaders/glShaderProgram.cpp

Diff revisions: vs.
  @@ -794,9 +794,9 @@
794 794 }
795 795
796 796 void glShaderProgram::UploadPushConstants(const PushConstants& constants) {
797 - for (auto& constant : constants.data()) {
798 - if (!constant.second._binding.empty() && constant.second._type != GFX::PushConstantType::COUNT) {
799 - UploadPushConstant(constant.second);
797 + for (const GFX::PushConstant& constant : constants.data()) {
798 + if (!constant._binding.empty() && constant._type != GFX::PushConstantType::COUNT) {
799 + UploadPushConstant(constant);
800 800 }
801 801 }
802 802 }