Unified · Split
| @@ -12,7 +12,7 @@ · 11 unmodified lines | |||
| 12 | #endif | 12 | #endif |
| 13 | #include "ft2_replayer.h" | 13 | #include "ft2_replayer.h" |
| 14 | 14 | ||
| 15 | #define PROG_VER_STR "1.48" | 15 | #define PROG_VER_STR "1.49" |
| 16 | 16 | ||
| 17 | // do NOT change these! It will only mess things up... | 17 | // do NOT change these! It will only mess things up... |
| 18 | 18 | ||
| @@ -306,9 +306,9 @@ void leaveFullScreen(void) · 305 unmodified lines | |||
| 306 | SDL_SetWindowFullscreen(video.window, 0); | 306 | SDL_SetWindowFullscreen(video.window, 0); |
| 307 | SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H); | 307 | SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H); |
| 308 | 308 | ||
| 309 | setWindowSizeFromConfig(false); // also updates mouse scaling and render size vars | 309 | setWindowSizeFromConfig(false); |
| 310 | |||
| 310 | SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor); | 311 | SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor); |
| 311 | SDL_SetWindowPosition(video.window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED); | ||
| 312 | SDL_SetWindowGrab(video.window, SDL_FALSE); | 312 | SDL_SetWindowGrab(video.window, SDL_FALSE); |
| 313 | 313 | ||
| 314 | updateRenderSizeVars(); | 314 | updateRenderSizeVars(); |