cleanup
This commit is contained in:
@@ -524,7 +524,7 @@ CString RageDisplay_D3D::TryVideoMode( const VideoModeParams &_p, bool &bNewDevi
|
|||||||
g_d3dpp.EnableAutoDepthStencil = TRUE;
|
g_d3dpp.EnableAutoDepthStencil = TRUE;
|
||||||
g_d3dpp.AutoDepthStencilFormat = D3DFMT_D16;
|
g_d3dpp.AutoDepthStencilFormat = D3DFMT_D16;
|
||||||
|
|
||||||
if(p.windowed)
|
if( p.windowed )
|
||||||
g_d3dpp.FullScreen_PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT;
|
g_d3dpp.FullScreen_PresentationInterval = D3DPRESENT_INTERVAL_DEFAULT;
|
||||||
else
|
else
|
||||||
g_d3dpp.FullScreen_PresentationInterval = p.vsync ? D3DPRESENT_INTERVAL_ONE : D3DPRESENT_INTERVAL_IMMEDIATE;
|
g_d3dpp.FullScreen_PresentationInterval = p.vsync ? D3DPRESENT_INTERVAL_ONE : D3DPRESENT_INTERVAL_IMMEDIATE;
|
||||||
|
|||||||
Reference in New Issue
Block a user