Skip to content

Commit

Permalink
not a uint, fix that
Browse files Browse the repository at this point in the history
  • Loading branch information
LittlePlanetCD committed May 28, 2024
1 parent 156c113 commit e20fe5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RSDKv3/Drawing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion RSDKv3/Drawing.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e20fe5e

Please sign in to comment.