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