Skip to content

Commit

Permalink
Update clx_render.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kphoenix137 committed Sep 24, 2024
1 parent 4f21dc7 commit 9b682dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/engine/render/clx_render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ void RenderClxOutline(const Surface &out, Point position, ClxSprite sprite, uint
UpdateOutlinePixelsCache<SkipColorIndexZero>(sprite);

// Adjust position to include the 1-pixel margin for the outline
position.x -= 1;
position.x--;
position.y -= sprite.height(); // Correct alignment for y-coordinate

// Check if the sprite with the outline fits within the surface
Expand Down

0 comments on commit 9b682dc

Please sign in to comment.