diff options
Diffstat (limited to 'lzr.c')
-rw-r--r-- | lzr.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -233,6 +233,10 @@ int LZR_Init(LZR_Config cfg) min_dt = 1000 / config.target_fps; next_time = SDL_GetTicks64(); } + if (config.hide_cursor && SDL_ShowCursor(SDL_DISABLE) < 0) { + SDL_Log("%s", SDL_GetError()); + return -1; + } return 0; } |