Fix src_rect size not being init

Fixes Software being a blank screen
This commit is contained in:
Sally Coolatta committed 2022-05-01 21:07:00 -04:00
1 parent c96855f59c
commit c35985d595
1 file changed
+3
+3
View File
@@ -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;