summaryrefslogtreecommitdiff
path: root/src/state.c
diff options
context:
space:
mode:
authorjussi2023-11-15 18:34:34 +0200
committerjussi2023-11-15 18:34:34 +0200
commit841aa897f1868075134162cc71593ac9c3473115 (patch)
treecc03b824d1a16a086aecc7a3246d9b434b7d3118 /src/state.c
parent7b10306ed5c87517800a6058ad84e27c866f81c6 (diff)
downloadreilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.tar.gz
reilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.tar.bz2
reilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.zip
GC_UNLOAD build time define and replaced with flag to change it at runtime.
Diffstat (limited to 'src/state.c')
-rw-r--r--src/state.c5
1 files changed, 0 insertions, 5 deletions
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" );