summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-10 19:18:02 -0500
committerLioncash <mathew1800@gmail.com>2016-12-10 20:00:40 -0500
commitdcb8113347e2102b75d2409544798eb6d7ee0fd1 (patch)
tree512796a2528dedde4a66e68d46f81c55f2719b0b /src
parent963aedd8ccc207d5b65b97bd46b930771f2bda6e (diff)
graphics_cmdlists: Make LoadImage internally linked
Puts the TextureInfoWidget definition in the anonymous namespace as well, as it's only used in the translation unit as well.
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/debugger/graphics_cmdlists.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp
index 8a784d108..cc49b471a 100644
--- a/src/citra_qt/debugger/graphics_cmdlists.cpp
+++ b/src/citra_qt/debugger/graphics_cmdlists.cpp
@@ -21,6 +21,7 @@
#include "video_core/pica.h"
#include "video_core/pica_state.h"
+namespace {
QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) {
QImage decoded_image(info.width, info.height, QImage::Format_ARGB32);
for (int y = 0; y < info.height; ++y) {
@@ -47,6 +48,7 @@ public:
setLayout(layout);
}
};
+} // Anonymous namespace
GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(parent) {}