diff options
author | kartofen <mladenovnasko0@gmail.com> | 2023-04-10 23:34:22 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2023-04-10 23:34:22 +0300 |
commit | 878726dbc3fd8803f436ee45b1e3ccff5693de24 (patch) | |
tree | 3b7a10018e0dd8dd018f5c4d0032987bbdebf752 /src/main.c | |
parent | 685076399535d47e056eb2341baa18888d15482b (diff) |
actually works
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -36,6 +36,11 @@ int main(void) SDL_Window *window = NULL; map_t map = {0}; + if(SDL_ShowCursor(SDL_DISABLE) < 0) { + log_error(LOG_INPUT, "SDL_ShowCursor: %s", SDL_GetError()); + } + + if(SDL_Init(SDL_INIT_VIDEO) != 0) { log_critical(LOG_VIDEO, "SDL_Init: %s", SDL_GetError()); goto exit; |