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. */
|
||||
GraphicsWindow::ConfigureGraphicsWindow( p );
|
||||
|
||||
GraphicsWindow::SetVideoModeParams( p );
|
||||
|
||||
ResolutionChanged();
|
||||
|
||||
this->SetDefaultRenderStates();
|
||||
|
||||
@@ -184,8 +184,6 @@ CString LowLevelWindow_Win32::TryVideoMode( const VideoModeParams &p, bool &bNew
|
||||
* reconfigure it. */
|
||||
GraphicsWindow::ConfigureGraphicsWindow( p, bNewDeviceOut );
|
||||
|
||||
GraphicsWindow::SetVideoModeParams( p );
|
||||
|
||||
if( bNeedToSetPixelFormat )
|
||||
{
|
||||
/* Set the pixel format. */
|
||||
|
||||
Reference in New Issue
Block a user