Add fix/workaround for black screen at startup

This commit is contained in:
Sergeanur 2020-07-17 21:14:48 +03:00
parent 1b161275e1
commit e8ded77e27

View File

@ -2235,6 +2235,11 @@ WinMain(HINSTANCE instance,
CloseClip(); CloseClip();
CoUninitialize(); 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 #ifdef PS2_MENU
extern char version_name[64]; extern char version_name[64];
if ( CGame::frenchGame || CGame::germanGame ) if ( CGame::frenchGame || CGame::germanGame )