From 7af7e7003131e182efb30bac8c1ff06ac1d667d6 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 15 Oct 2023 18:54:19 +0300 Subject: Renamed start, end arguments to a, b to avoid using Lua keyword end in argument names. --- src/textures.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/textures.c') diff --git a/src/textures.c b/src/textures.c index 29c8476..061e1b2 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1365,7 +1365,7 @@ int ltexturesImageDrawPixel( lua_State *L ) { } /* -> success = RL.ImageDrawLine( Image dst, Vector2 start, Vector2 end, Color color ) +> success = RL.ImageDrawLine( Image dst, Vector2 a, Vector2 b, Color color ) Draw line within an image @@ -1374,7 +1374,7 @@ Draw line within an image */ int ltexturesImageDrawLine( lua_State *L ) { if ( !lua_isnumber( L, 1 ) || !lua_istable( L, 2 ) || !lua_istable( L, 3 ) || !lua_istable( L, 4 ) ) { - TraceLog( state->logLevelInvalid, "%s", "Bad call of function. RL.ImageDrawLine( Image dst, Vector2 start, Vector2 end, Color color )" ); + TraceLog( state->logLevelInvalid, "%s", "Bad call of function. RL.ImageDrawLine( Image dst, Vector2 a, Vector2 b, Color color )" ); lua_pushboolean( L, false ); return 1; } -- cgit v1.2.3