diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 21:14:48 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-17 21:14:48 +0300 |
commit | e8ded77e27fb576126c7ab7132af4f65e11958b0 (patch) | |
tree | 731c049ca24bd14f606c1d0e9d3b57fa8f2a2044 /src/skel/win | |
parent | 1b161275e1b48ef0e13e6b83d667f56a3895d748 (diff) |
Add fix/workaround for black screen at startup
Diffstat (limited to 'src/skel/win')
-rw-r--r-- | src/skel/win/win.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 ) |