mirror of https://github.com/snes9xgit/snes9x.git
Win32: Pass fullscreen setting when applying directdraw display changes
This commit is contained in:
parent
32edb0315e
commit
cae2aebb72
|
@ -749,7 +749,7 @@ void CDirectDraw::Render(SSurface Src)
|
||||||
bool CDirectDraw::ApplyDisplayChanges(void)
|
bool CDirectDraw::ApplyDisplayChanges(void)
|
||||||
{
|
{
|
||||||
return SetDisplayMode (GUI.FullscreenMode.width, GUI.FullscreenMode.height, max(GetFilterScale(GUI.Scale), GetFilterScale(GUI.ScaleHiRes)), GUI.FullscreenMode.depth, GUI.FullscreenMode.rate,
|
return SetDisplayMode (GUI.FullscreenMode.width, GUI.FullscreenMode.height, max(GetFilterScale(GUI.Scale), GetFilterScale(GUI.ScaleHiRes)), GUI.FullscreenMode.depth, GUI.FullscreenMode.rate,
|
||||||
TRUE, GUI.DoubleBuffered);
|
!GUI.FullScreen, GUI.DoubleBuffered);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CDirectDraw::ChangeRenderSize(unsigned int newWidth, unsigned int newHeight)
|
bool CDirectDraw::ChangeRenderSize(unsigned int newWidth, unsigned int newHeight)
|
||||||
|
|
Loading…
Reference in New Issue