summaryrefslogtreecommitdiff
path: root/src/textures.c
diff options
context:
space:
mode:
authorjussi2023-10-15 18:54:19 +0300
committerjussi2023-10-15 18:54:19 +0300
commit7af7e7003131e182efb30bac8c1ff06ac1d667d6 (patch)
treeebc0d3dec4255165da0c67853213664b5e1d8e36 /src/textures.c
parentc3352b8ed7becfef5a175f763241d77afdf24b02 (diff)
downloadreilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.tar.gz
reilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.tar.bz2
reilua-enhanced-7af7e7003131e182efb30bac8c1ff06ac1d667d6.zip
Renamed start, end arguments to a, b to avoid using Lua keyword end in argument names.
Diffstat (limited to 'src/textures.c')
-rw-r--r--src/textures.c4
1 files changed, 2 insertions, 2 deletions
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;
}