From e8ded77e27fb576126c7ab7132af4f65e11958b0 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Fri, 17 Jul 2020 21:14:48 +0300 Subject: Add fix/workaround for black screen at startup --- src/skel/win/win.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/skel/win') diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp index 52941d7d..a57f4846 100644 --- a/src/skel/win/win.cpp +++ b/src/skel/win/win.cpp @@ -2235,6 +2235,11 @@ WinMain(HINSTANCE instance, CloseClip(); CoUninitialize(); +#ifdef FIX_BUGS + // draw one frame because otherwise we'll end up looking at black screen for a while if vsync is on + RsCameraShowRaster(Scene.camera); +#endif + #ifdef PS2_MENU extern char version_name[64]; if ( CGame::frenchGame || CGame::germanGame ) -- cgit v1.2.3