From c35985d59557b707dd7ed0bd901c55f88eed54e2 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Sun, 1 May 2022 21:07:00 -0400 Subject: [PATCH] Fix src_rect size not being init Fixes Software being a blank screen --- src/sdl/i_video.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index c824b163..8517ce73 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1688,6 +1688,9 @@ INT32 VID_SetMode(INT32 modeNum) } } + src_rect.w = vid.width; + src_rect.h = vid.height; + refresh_rate = VID_GetRefreshRate(); return SDL_TRUE;