summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorjussi2023-10-29 15:21:10 +0200
committerjussi2023-10-29 15:21:10 +0200
commit0df40e2ac080364bcebd4fe0445b814230545477 (patch)
tree36be0ab558d6642352c0bb3034b6e6b32471716d /src/core.c
parent76911d45a879838047b2845cd6124e9ca3af083a (diff)
downloadreilua-enhanced-0df40e2ac080364bcebd4fe0445b814230545477.tar.gz
reilua-enhanced-0df40e2ac080364bcebd4fe0445b814230545477.tar.bz2
reilua-enhanced-0df40e2ac080364bcebd4fe0445b814230545477.zip
Shapes, RLGL, Math, Gui and Easings to new style.
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.c b/src/core.c
index f737375..3e0043c 100644
--- a/src/core.c
+++ b/src/core.c
@@ -787,7 +787,7 @@ NOTE: Set nil if no shader
*/
int lcoreLoadShader( lua_State *L ) {
if ( !( lua_isstring( L, 1 ) || lua_isnil( L, 1 ) ) || !( lua_isstring( L, 2 ) || lua_isnil( L, 2 ) ) ) {
- TraceLog( state->logLevelInvalid, "%s", "Bad call of function. RL.LoadShader( string vsFileName, string fsFileName )" );
+ TraceLog( state->logLevelInvalid, "%s", "Argument needs to be string or nil" );
lua_pushnil( L );
return 1;
}