summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics_surface.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2016-09-18 18:01:46 -0700
committerGravatar Yuri Kunde Schlesner2016-09-18 21:14:25 -0700
commit396a8d91a4423d9c793eeff0798d544613647511 (patch)
treee0203961233db1ffcbbca2e15154d71d142c5822 /src/citra_qt/debugger/graphics_surface.cpp
parentTweak formatting settings (diff)
downloadyuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.gz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.tar.xz
yuzu-396a8d91a4423d9c793eeff0798d544613647511.zip
Manually tweak source formatting and then re-run clang-format
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_surface.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/citra_qt/debugger/graphics_surface.cpp b/src/citra_qt/debugger/graphics_surface.cpp
index 839fca124..bb998acc4 100644
--- a/src/citra_qt/debugger/graphics_surface.cpp
+++ b/src/citra_qt/debugger/graphics_surface.cpp
@@ -25,10 +25,8 @@
25#include "video_core/utils.h" 25#include "video_core/utils.h"
26 26
27SurfacePicture::SurfacePicture(QWidget* parent, GraphicsSurfaceWidget* surface_widget_) 27SurfacePicture::SurfacePicture(QWidget* parent, GraphicsSurfaceWidget* surface_widget_)
28 : QLabel(parent), surface_widget(surface_widget_) { 28 : QLabel(parent), surface_widget(surface_widget_) {}
29} 29SurfacePicture::~SurfacePicture() {}
30SurfacePicture::~SurfacePicture() {
31}
32 30
33void SurfacePicture::mousePressEvent(QMouseEvent* event) { 31void SurfacePicture::mousePressEvent(QMouseEvent* event) {
34 // Only do something while the left mouse button is held down 32 // Only do something while the left mouse button is held down
@@ -707,9 +705,8 @@ unsigned int GraphicsSurfaceWidget::NibblesPerPixel(GraphicsSurfaceWidget::Forma
707 case Format::D16: 705 case Format::D16:
708 return 2 * 2; 706 return 2 * 2;
709 default: 707 default:
710 UNREACHABLE_MSG("GraphicsSurfaceWidget::BytesPerPixel: this " 708 UNREACHABLE_MSG("GraphicsSurfaceWidget::BytesPerPixel: this should not be reached as this "
711 "should not be reached as this function should " 709 "function should be given a format which is in "
712 "be given a format which is in "
713 "GraphicsSurfaceWidget::Format. Instead got %i", 710 "GraphicsSurfaceWidget::Format. Instead got %i",
714 static_cast<int>(format)); 711 static_cast<int>(format));
715 return 0; 712 return 0;