From b011b2ca4e161fea2a742cb9b1673cd84cf0eba5 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 5 Aug 2024 23:35:57 +0300 Subject: GetRayBoxCells fix. --- src/textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index 9d7221a..467485b 100644 --- a/src/textures.c +++ b/src/textures.c @@ -255,7 +255,7 @@ Generate image: plain color */ int ltexturesGenImageColor( lua_State* L ) { Vector2 size = uluaGetVector2( L, 1 ); - Color color = uluaGetColor( L, 1 ); + Color color = uluaGetColor( L, 2 ); uluaPushImage( L, GenImageColor( size.x, size.y, color ) ); -- cgit v1.2.3