summaryrefslogtreecommitdiff
path: root/src/code/PreRender.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-11-17 17:02:07 -0500
committerGitHub <noreply@github.com>2024-11-17 17:02:07 -0500
commit17edb82c0d22fb78135033f92a624bd6cde6f495 (patch)
tree1f5f077c12e3a693745fcbb0aa450b35cf8ff9b6 /src/code/PreRender.c
parentcf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (diff)
Decouple Debug Features From gc-eu-mq-dbg (#2296)
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
Diffstat (limited to 'src/code/PreRender.c')
-rw-r--r--src/code/PreRender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/PreRender.c b/src/code/PreRender.c
index 441dddade..d8d96d1b8 100644
--- a/src/code/PreRender.c
+++ b/src/code/PreRender.c
@@ -598,7 +598,7 @@ void PreRender_AntiAliasFilter(PreRender* this, s32 x, s32 y) {
buffCvg[i] = this->cvgSave[xi + yi * this->width] >> 5;
}
-#if OOT_DEBUG
+#if DEBUG_FEATURES
if (buffCvg[7] == 7) {
PRINTF("Error, should not be in here \n");
return;
@@ -693,7 +693,7 @@ void PreRender_AntiAliasFilter(PreRender* this, s32 x, s32 y) {
(((a2) >= (a1)) ? (((a3) >= (a2)) ? (a2) : (((a1) >= (a3)) ? (a1) : (a3))) \
: (((a2) >= (a3)) ? (a2) : (((a3) >= (a1)) ? (a1) : (a3))))
-#if OOT_DEBUG
+#if DEBUG_FEATURES
#define R_HREG_MODE_DEBUG R_HREG_MODE
#else
#define R_HREG_MODE_DEBUG ((void)0, 0)