Clean up a bit

This commit is contained in:
Miloslav Ciz 2025-06-19 02:28:51 +02:00
parent 610c1df0b0
commit a104a12cc4
14 changed files with 207 additions and 62 deletions

View file

@ -1,5 +1,8 @@
/** @file frontend_sdl.c
SDL2 frontend for Licar.
SDL2 frontend for Licar. This is the number one frontend, most advanced and
with most features -- if a platform supports SDL2, this should probably be
used.
*/
#include <stdio.h>
@ -8,7 +11,9 @@
#define LCR_SETTING_LOG_LEVEL 2
#define LCR_LOADING_COMMAND SDL_PumpEvents();
#define LCR_FPS_GET_MS SDL_GetTicks() // uncomment for FPS measuring
#if 0
#define LCR_FPS_GET_MS SDL_GetTicks() // enabling will log FPS in console
#endif
#ifdef __EMSCRIPTEN__
#define LCR_SETTING_RESOLUTION_X 512