diff options
| author | 2014-12-04 19:41:03 +0100 | |
|---|---|---|
| committer | 2014-12-09 16:37:34 +0100 | |
| commit | 0cd27a511ecd170484b672263c09192b579e31ac (patch) | |
| tree | dfa2dece82fcbcfe45708582a493ee0ff317ce82 /src/video_core/debug_utils | |
| parent | citra-qt: Add pica framebuffer widget. (diff) | |
| download | yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.gz yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.xz yuzu-0cd27a511ecd170484b672263c09192b579e31ac.zip | |
Some code cleanup.
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 31ce09faf..71b03f31c 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | // Licensed under GPLv2 | 2 | // Licensed under GPLv2 |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <cassert> | ||
| 6 | |||
| 7 | #include <algorithm> | 5 | #include <algorithm> |
| 8 | #include <condition_variable> | 6 | #include <condition_variable> |
| 9 | #include <list> | 7 | #include <list> |
| @@ -359,7 +357,7 @@ std::unique_ptr<PicaTrace> FinishPicaTracing() | |||
| 359 | } | 357 | } |
| 360 | 358 | ||
| 361 | const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const TextureInfo& info) { | 359 | const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const TextureInfo& info) { |
| 362 | assert(info.format == Pica::Regs::TextureFormat::RGB8); | 360 | _dbg_assert_(GPU, info.format == Pica::Regs::TextureFormat::RGB8); |
| 363 | 361 | ||
| 364 | // Cf. rasterizer code for an explanation of this algorithm. | 362 | // Cf. rasterizer code for an explanation of this algorithm. |
| 365 | int texel_index_within_tile = 0; | 363 | int texel_index_within_tile = 0; |