window = SDL_CreateWindow("csrpg - opengl", SDL_WINDOWPOS_CENTERED,
SDL_WINDOWPOS_CENTERED, screen_width, screen_height,
- SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE | SDL_WINDOW_INPUT_FOCUS |
- SDL_WINDOW_BORDERLESS);
+ SDL_WINDOW_OPENGL | SDL_WINDOW_INPUT_FOCUS | SDL_WINDOW_BORDERLESS |
+ SDL_WINDOW_FULLSCREEN_DESKTOP);
+
if (window == NULL){
printf("SDL couldn't make an OpenGL window! SDL_Error: %s\n", SDL_GetError());