remove SetVideoModeParams call
This commit is contained in:
@@ -632,8 +632,6 @@ CString RageDisplay_D3D::TryVideoMode( const VideoModeParams &_p, bool &bNewDevi
|
|||||||
* resolution or set the window position. */
|
* resolution or set the window position. */
|
||||||
GraphicsWindow::ConfigureGraphicsWindow( p );
|
GraphicsWindow::ConfigureGraphicsWindow( p );
|
||||||
|
|
||||||
GraphicsWindow::SetVideoModeParams( p );
|
|
||||||
|
|
||||||
ResolutionChanged();
|
ResolutionChanged();
|
||||||
|
|
||||||
this->SetDefaultRenderStates();
|
this->SetDefaultRenderStates();
|
||||||
|
|||||||
@@ -184,8 +184,6 @@ CString LowLevelWindow_Win32::TryVideoMode( const VideoModeParams &p, bool &bNew
|
|||||||
* reconfigure it. */
|
* reconfigure it. */
|
||||||
GraphicsWindow::ConfigureGraphicsWindow( p, bNewDeviceOut );
|
GraphicsWindow::ConfigureGraphicsWindow( p, bNewDeviceOut );
|
||||||
|
|
||||||
GraphicsWindow::SetVideoModeParams( p );
|
|
||||||
|
|
||||||
if( bNeedToSetPixelFormat )
|
if( bNeedToSetPixelFormat )
|
||||||
{
|
{
|
||||||
/* Set the pixel format. */
|
/* Set the pixel format. */
|
||||||
|
|||||||
Reference in New Issue
Block a user