diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-03-09 13:15:37 +0100 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-03-09 13:15:37 +0100 |
commit | 557b732b43e898bcfdc234fa958310a8691a7a08 (patch) | |
tree | 234e91d3b9e653c153ce0a09ff57e3d978ca1412 /src | |
parent | Merge pull request #1344 from LittleWhite-tb/error-output (diff) | |
download | yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar.gz yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar.bz2 yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar.lz yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar.xz yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.tar.zst yuzu-557b732b43e898bcfdc234fa958310a8691a7a08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index a11c61667..4b676f1b1 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -498,8 +498,8 @@ void GraphicsVertexShaderWidget::Reload(bool replace_vertex_data, void* vertex_d // Reload widget state for (int attr = 0; attr < num_attributes; ++attr) { unsigned source_attr = shader_config.input_register_map.GetRegisterForAttribute(attr); - input_data_mapping[source_attr]->setText(QString("-> v%1").arg(attr)); - input_data_container[source_attr]->setVisible(true); + input_data_mapping[attr]->setText(QString("-> v%1").arg(source_attr)); + input_data_container[attr]->setVisible(true); } // Only show input attributes which are used as input to the shader for (unsigned int attr = num_attributes; attr < 16; ++attr) { |