summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPieter-Jan Briers <pieterjan.briers+git@gmail.com>2026-02-25 23:06:37 +0100
committerGitHub <noreply@github.com>2026-02-25 14:06:37 -0800
commita096caa8deaab245402c56dd5d54bfe4a0bbe2e5 (patch)
treead03a9f726a0c5315e8a11a4ba7ab3940060d459 /include
parentf54661f878732696679ab6925efd1c1c95fde76d (diff)
Fix broken J3DTexture assert (#3111)
Diffstat (limited to 'include')
-rw-r--r--include/JSystem/J3DGraphBase/J3DTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DTexture.h b/include/JSystem/J3DGraphBase/J3DTexture.h
index da8276e767..f179764e9b 100644
--- a/include/JSystem/J3DGraphBase/J3DTexture.h
+++ b/include/JSystem/J3DGraphBase/J3DTexture.h
@@ -19,7 +19,7 @@ private:
public:
J3DTexture(u16 num, ResTIMG* res) : mNum(num), unk_0x2(0), mpRes(res) {
- J3D_ASSERT_NULLPTR(52, res && num);
+ J3D_ASSERT_NULLPTR(52, res != NULL || num == 0);
}
void loadGX(u16, GXTexMapID) const;