Skip to content

Commit 81f34d6

Browse files
authored
Merge pull request #4 from d954mas/master
Rect angle can be lower zero
2 parents 5a1b145 + e817616 commit 81f34d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drawpixels/src/drawpixels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ static int draw_filled_rect(lua_State* L) {
446446
{
447447
a = luaL_checknumber(L, 9);
448448
}
449-
uint32_t angle = 0;
449+
int angle = 0;
450450
if (lua_isnumber(L, 10) == 1)
451451
{
452452
angle = luaL_checknumber(L, 10);

0 commit comments

Comments
 (0)