logLevelInvalid for bad function calls and invalid data formats.

This commit is contained in:
jussi
2023-08-04 22:21:40 +03:00
parent 8ad7254292
commit 5438a70b0a
22 changed files with 698 additions and 632 deletions

View File

@@ -17,6 +17,7 @@ bool stateInit( const char *exePath ) {
state->resolution = (Vector2){ 800, 600 };
state->luaState = NULL;
state->guiFont = 0;
state->logLevelInvalid = LOG_ERROR;
/* Images. */
state->imageAlloc = ALLOC_PAGE_SIZE;
state->imageCount = 0;