From a07ec61d666522ef022bf490a2b95b43e081884b Mon Sep 17 00:00:00 2001 From: Jcw87 Date: Wed, 11 Feb 2026 00:14:18 -0800 Subject: fix compiler warnings (#3094) --- src/JSystem/J2DGraph/J2DPicture.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/JSystem/J2DGraph/J2DPicture.cpp') diff --git a/src/JSystem/J2DGraph/J2DPicture.cpp b/src/JSystem/J2DGraph/J2DPicture.cpp index efeaca2ebf..65ce621e40 100644 --- a/src/JSystem/J2DGraph/J2DPicture.cpp +++ b/src/JSystem/J2DGraph/J2DPicture.cpp @@ -471,8 +471,7 @@ const ResTIMG* J2DPicture::changeTexture(char const* resName, u8 param_1) { return changeTexture((ResTIMG*)J2DScreen::getNameResource(resName), param_1); } -static bool dummy_weak_order(JUTTexture* tex) { - J2DPicture* picture; +static bool dummy_weak_order(J2DPicture* picture, JUTTexture* tex) { return picture->append(tex, 1.0f); } -- cgit v1.2.3