summaryrefslogtreecommitdiff
path: root/src/lua_core.c
diff options
context:
space:
mode:
authorjussi2024-02-18 15:26:21 +0200
committerjussi2024-02-18 15:26:21 +0200
commit9b27daefc225752f3f24ea862e9c2be13f8addf6 (patch)
treecfa74048b9bddb9dc58e8117a4a7af845ee137eb /src/lua_core.c
parent9de10be468c5151765a0e007d5889971c637fd24 (diff)
downloadreilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.gz
reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.bz2
reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.zip
Process renamed to update to be more inline with naming of raylib and common convention.
Diffstat (limited to 'src/lua_core.c')
-rw-r--r--src/lua_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua_core.c b/src/lua_core.c
index 53059b4..b9939cb 100644
--- a/src/lua_core.c
+++ b/src/lua_core.c
@@ -1127,7 +1127,7 @@ bool luaCallMain() {
return state->run;
}
-void luaCallProcess() {
+void luaCallUpdate() {
#if defined PLATFORM_DESKTOP_SDL && defined LUA_EVENTS
platformSendEvents();
@@ -1138,7 +1138,7 @@ void luaCallProcess() {
int tracebackidx = lua_gettop(L);
lua_getglobal( L, "RL" );
- lua_getfield( L, -1, "process" );
+ lua_getfield( L, -1, "update" );
if ( lua_isfunction( L, -1 ) ) {
lua_pushnumber( L, GetFrameTime() );