diff options
| author | 2016-12-10 19:18:02 -0500 | |
|---|---|---|
| committer | 2016-12-10 20:00:40 -0500 | |
| commit | dcb8113347e2102b75d2409544798eb6d7ee0fd1 (patch) | |
| tree | 512796a2528dedde4a66e68d46f81c55f2719b0b /src/citra_qt/debugger/graphics_cmdlists.cpp | |
| parent | Add all services to the Service namespace (diff) | |
| download | yuzu-dcb8113347e2102b75d2409544798eb6d7ee0fd1.tar.gz yuzu-dcb8113347e2102b75d2409544798eb6d7ee0fd1.tar.xz yuzu-dcb8113347e2102b75d2409544798eb6d7ee0fd1.zip | |
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/citra_qt/debugger/graphics_cmdlists.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 2 |
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 @@ | |||
| 21 | #include "video_core/pica.h" | 21 | #include "video_core/pica.h" |
| 22 | #include "video_core/pica_state.h" | 22 | #include "video_core/pica_state.h" |
| 23 | 23 | ||
| 24 | namespace { | ||
| 24 | QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) { | 25 | QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) { |
| 25 | QImage decoded_image(info.width, info.height, QImage::Format_ARGB32); | 26 | QImage decoded_image(info.width, info.height, QImage::Format_ARGB32); |
| 26 | for (int y = 0; y < info.height; ++y) { | 27 | for (int y = 0; y < info.height; ++y) { |
| @@ -47,6 +48,7 @@ public: | |||
| 47 | setLayout(layout); | 48 | setLayout(layout); |
| 48 | } | 49 | } |
| 49 | }; | 50 | }; |
| 51 | } // Anonymous namespace | ||
| 50 | 52 | ||
| 51 | GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(parent) {} | 53 | GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(parent) {} |
| 52 | 54 | ||