summaryrefslogtreecommitdiffstats
path: root/src/skel/win
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-17 20:15:47 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-17 20:15:47 +0200
commit30384bb4efa5905051859eb931883e7401056c66 (patch)
tree16c3c6f2b7c8b4478c56c587a3b2fc3ce97e5a42 /src/skel/win
parentMerge branch 'master' into miami (diff)
parentAdd fix/workaround for black screen at startup (diff)
downloadre3-30384bb4efa5905051859eb931883e7401056c66.tar
re3-30384bb4efa5905051859eb931883e7401056c66.tar.gz
re3-30384bb4efa5905051859eb931883e7401056c66.tar.bz2
re3-30384bb4efa5905051859eb931883e7401056c66.tar.lz
re3-30384bb4efa5905051859eb931883e7401056c66.tar.xz
re3-30384bb4efa5905051859eb931883e7401056c66.tar.zst
re3-30384bb4efa5905051859eb931883e7401056c66.zip
Diffstat (limited to 'src/skel/win')
-rw-r--r--src/skel/win/win.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index e70a1054..ed423f30 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2247,6 +2247,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 )