Add FPS measure

This commit is contained in:
Miloslav Ciz 2025-04-20 14:18:57 +02:00
parent 975bf16399
commit 06c1d1c42e
3 changed files with 62 additions and 1 deletions

View file

@ -8,6 +8,9 @@
#define LCR_SETTING_LOG_LEVEL 2
#define DATA_FILE_NAME "data"
#define LCR_LOADING_COMMAND SDL_PumpEvents();
// #define LCR_FPS_GET_MS SDL_GetTicks() // uncomment for FPS measuring
#include "game.h"
SDL_Window *window;