call SDL_UpdateHWnd
This commit is contained in:
@@ -572,6 +572,9 @@ CString RageDisplay_D3D::TryVideoMode( VideoModeParams p, bool &bNewDeviceOut )
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Recreating the window changes the hwnd. */
|
||||
SDL_UpdateHWnd();
|
||||
|
||||
ResolutionChanged();
|
||||
|
||||
this->SetDefaultRenderStates();
|
||||
|
||||
@@ -169,6 +169,9 @@ CString LowLevelWindow_SDL::TryVideoMode( RageDisplay::VideoModeParams p, bool &
|
||||
// mySDL_EventState(SDL_OPENGLRESET, SDL_IGNORE);
|
||||
#endif
|
||||
|
||||
/* Recreating the window changes the hwnd. */
|
||||
SDL_UpdateHWnd();
|
||||
|
||||
{
|
||||
/* Find out what we really got. */
|
||||
int r,g,b,a, colorbits, depth, stencil;
|
||||
|
||||
Reference in New Issue
Block a user