diff options
| author | jussi | 2023-11-15 18:34:34 +0200 |
|---|---|---|
| committer | jussi | 2023-11-15 18:34:34 +0200 |
| commit | 841aa897f1868075134162cc71593ac9c3473115 (patch) | |
| tree | cc03b824d1a16a086aecc7a3246d9b434b7d3118 /src/state.c | |
| parent | 7b10306ed5c87517800a6058ad84e27c866f81c6 (diff) | |
| download | reilua-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.c | 5 |
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" ); |
