diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-10 19:24:56 +0100 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2015-02-11 15:40:45 +0100 |
commit | 12a5cd1d65487124b7878fbffe43d4ad3755263e (patch) | |
tree | 28cc580ee4669f1a43567e98e440a9f2b98fc1c5 /src/citra_qt/main.cpp | |
parent | Pica/DebugUtils: Factor out BreakPointObserverDock into its own file. (diff) | |
download | yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar.gz yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar.bz2 yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar.lz yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar.xz yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.tar.zst yuzu-12a5cd1d65487124b7878fbffe43d4ad3755263e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 653ffec75..881c7d337 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -34,6 +34,7 @@ #include "debugger/graphics_breakpoints.h" #include "debugger/graphics_cmdlists.h" #include "debugger/graphics_framebuffer.h" +#include "debugger/graphics_vertex_shader.h" #include "core/settings.h" #include "core/system.h" @@ -84,6 +85,10 @@ GMainWindow::GMainWindow() addDockWidget(Qt::RightDockWidgetArea, graphicsFramebufferWidget); graphicsFramebufferWidget->hide(); + auto graphicsVertexShaderWidget = new GraphicsVertexShaderWidget(Pica::g_debug_context, this); + addDockWidget(Qt::RightDockWidgetArea, graphicsVertexShaderWidget); + graphicsVertexShaderWidget->hide(); + QMenu* debug_menu = ui.menu_View->addMenu(tr("Debugging")); debug_menu->addAction(disasmWidget->toggleViewAction()); debug_menu->addAction(registersWidget->toggleViewAction()); @@ -92,6 +97,7 @@ GMainWindow::GMainWindow() debug_menu->addAction(graphicsCommandsWidget->toggleViewAction()); debug_menu->addAction(graphicsBreakpointsWidget->toggleViewAction()); debug_menu->addAction(graphicsFramebufferWidget->toggleViewAction()); + debug_menu->addAction(graphicsVertexShaderWidget->toggleViewAction()); // Set default UI state // geometry: 55% of the window contents are in the upper screen half, 45% in the lower half |