|
|
@ -1119,12 +1119,6 @@ void prelogInit()
|
|
|
|
if(ClientCfg.DisableTextureShdr)
|
|
|
|
if(ClientCfg.DisableTextureShdr)
|
|
|
|
Driver->disableHardwareTextureShader();
|
|
|
|
Driver->disableHardwareTextureShader();
|
|
|
|
|
|
|
|
|
|
|
|
// Enable or disable VSync
|
|
|
|
|
|
|
|
if(ClientCfg.WaitVBL)
|
|
|
|
|
|
|
|
Driver->setSwapVBLInterval(1);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
Driver->setSwapVBLInterval(0);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (StereoDisplay) // VR_CONFIG // VR_DRIVER
|
|
|
|
if (StereoDisplay) // VR_CONFIG // VR_DRIVER
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// override mode TODO
|
|
|
|
// override mode TODO
|
|
|
@ -1150,6 +1144,12 @@ void prelogInit()
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Enable or disable VSync
|
|
|
|
|
|
|
|
if (ClientCfg.WaitVBL)
|
|
|
|
|
|
|
|
Driver->setSwapVBLInterval(1);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
Driver->setSwapVBLInterval(0);
|
|
|
|
|
|
|
|
|
|
|
|
// initialize system utils class
|
|
|
|
// initialize system utils class
|
|
|
|
CSystemUtils::init();
|
|
|
|
CSystemUtils::init();
|
|
|
|
CSystemUtils::setWindow(Driver->getDisplay());
|
|
|
|
CSystemUtils::setWindow(Driver->getDisplay());
|
|
|
|