From 841aa897f1868075134162cc71593ac9c3473115 Mon Sep 17 00:00:00 2001 From: jussi Date: Wed, 15 Nov 2023 18:34:34 +0200 Subject: GC_UNLOAD build time define and replaced with flag to change it at runtime. --- src/state.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index 228cbce..b2de3d9 100644 --- a/src/state.c +++ b/src/state.c @@ -17,12 +17,7 @@ bool stateInit( int argn, const char **argc, const char *exePath ) { state->resolution = (Vector2){ 800, 600 }; state->luaState = NULL; state->logLevelInvalid = LOG_ERROR; - -#ifdef GC_UNLOAD state->gcUnload = true; -#else - state->gcUnload = false; -#endif InitWindow( state->resolution.x, state->resolution.y, "ReiLua" ); -- cgit v1.2.3