From e20fe5e0a6d7566ccc65d52c0c958c65bc480e28 Mon Sep 17 00:00:00 2001 From: LittlePlanetCD Date: Tue, 28 May 2024 14:47:00 -0500 Subject: [PATCH] not a uint, fix that --- RSDKv3/Drawing.cpp | 2 +- RSDKv3/Drawing.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RSDKv3/Drawing.cpp b/RSDKv3/Drawing.cpp index 6ea33794..4b004ced 100644 --- a/RSDKv3/Drawing.cpp +++ b/RSDKv3/Drawing.cpp @@ -4810,7 +4810,7 @@ void SetFadeHQ(int R, int G, int B, int A) // Not Avaliable in HW mode } -void DrawTintRectangle(uint XPos, uint YPos, int width, int height) +void DrawTintRectangle(int XPos, int YPos, int width, int height) { if (renderType == RENDER_SW) { if (width + XPos > GFX_LINESIZE) diff --git a/RSDKv3/Drawing.hpp b/RSDKv3/Drawing.hpp index 1b4b654a..9b494c83 100644 --- a/RSDKv3/Drawing.hpp +++ b/RSDKv3/Drawing.hpp @@ -187,7 +187,7 @@ void Draw3DSkyLayer(int layerID); // Shape Drawing void DrawRectangle(int XPos, int YPos, int width, int height, int R, int G, int B, int A); void SetFadeHQ(int R, int G, int B, int A); -void DrawTintRectangle(uint XPos, uint YPos, int width, int height); +void DrawTintRectangle(int XPos, int YPos, int width, int height); void DrawScaledTintMask(int direction, int XPos, int YPos, int pivotX, int pivotY, int scaleX, int scaleY, int width, int height, int sprX, int sprY, int sheetID);