don't show debug info on release build

main
Henri Vasserman 2025-01-07 18:49:29 +02:00
parent 9b674ea333
commit c2f9f4ad80
1 changed files with 5 additions and 0 deletions

View File

@ -35,7 +35,12 @@ int main() {
Uint64 last = SDL_GetTicks();
int running = 1;
#ifdef NDEBUG
int debug = 0;
#else
int debug = 1;
#endif
while (running) {
Uint64 ticks = SDL_GetTicks();