summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-03-09 13:15:37 +0100
committerJannik Vogel <email@jannikvogel.de>2016-03-09 13:15:37 +0100
commit557b732b43e898bcfdc234fa958310a8691a7a08 (patch)
tree234e91d3b9e653c153ce0a09ff57e3d978ca1412 /src
parentMerge pull request #1344 from LittleWhite-tb/error-output (diff)
downloadyuzu-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 'src')
-rw-r--r--src/citra_qt/debugger/graphics_vertex_shader.cpp4
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) {