summaryrefslogtreecommitdiff
path: root/src/citra_qt/debugger/graphics_surface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/debugger/graphics_surface.cpp')
-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;