diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-05-04 10:21:51 +0200 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-05-04 10:21:51 +0200 |
commit | 7a77b8356ca0aebbd29b88402c9470dd22fedeab (patch) | |
tree | 41c66a1e6f3d0ccd386a40f87a974ab7ce0f688d /src/citra_qt/debugger/graphics_vertex_shader.cpp | |
parent | Merge pull request #1754 from JayFoxRox/fix-const_color-revert (diff) | |
download | yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar.gz yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar.bz2 yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar.lz yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar.xz yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.tar.zst yuzu-7a77b8356ca0aebbd29b88402c9470dd22fedeab.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 d648d4640..6e8d7ef42 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -365,7 +365,7 @@ GraphicsVertexShaderWidget::GraphicsVertexShaderWidget(std::shared_ptr< Pica::De input_data[i]->setValidator(new QDoubleValidator(input_data[i])); } - breakpoint_warning = new QLabel(tr("(data only available at VertexLoaded breakpoints)")); + breakpoint_warning = new QLabel(tr("(data only available at vertex shader invocation breakpoints)")); // TODO: Add some button for jumping to the shader entry point @@ -454,7 +454,7 @@ GraphicsVertexShaderWidget::GraphicsVertexShaderWidget(std::shared_ptr< Pica::De void GraphicsVertexShaderWidget::OnBreakPointHit(Pica::DebugContext::Event event, void* data) { auto input = static_cast<Pica::Shader::InputVertex*>(data); - if (event == Pica::DebugContext::Event::VertexLoaded) { + if (event == Pica::DebugContext::Event::VertexShaderInvocation) { Reload(true, data); } else { // No vertex data is retrievable => invalidate currently stored vertex data |