summaryrefslogtreecommitdiffstats
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-04 19:41:03 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit0cd27a511ecd170484b672263c09192b579e31ac (patch)
treedfa2dece82fcbcfe45708582a493ee0ff317ce82 /src/video_core/debug_utils
parentcitra-qt: Add pica framebuffer widget. (diff)
downloadyuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.gz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.bz2
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.lz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.xz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.zst
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.zip
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
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 @@
// Licensed under GPLv2
// Refer to the license.txt file included.
-#include <cassert>
-
#include <algorithm>
#include <condition_variable>
#include <list>
@@ -359,7 +357,7 @@ std::unique_ptr<PicaTrace> FinishPicaTracing()
}
const Math::Vec4<u8> LookupTexture(const u8* source, int x, int y, const TextureInfo& info) {
- assert(info.format == Pica::Regs::TextureFormat::RGB8);
+ _dbg_assert_(GPU, info.format == Pica::Regs::TextureFormat::RGB8);
// Cf. rasterizer code for an explanation of this algorithm.
int texel_index_within_tile = 0;