mirror of https://github.com/snes9xgit/snes9x.git
Let DirectDraw react to display changes
This commit is contained in:
parent
8218618c6c
commit
d92504e8ac
|
@ -748,7 +748,8 @@ void CDirectDraw::Render(SSurface Src)
|
||||||
|
|
||||||
bool CDirectDraw::ApplyDisplayChanges(void)
|
bool CDirectDraw::ApplyDisplayChanges(void)
|
||||||
{
|
{
|
||||||
return true;
|
return SetDisplayMode (GUI.FullscreenMode.width, GUI.FullscreenMode.height, max(GetFilterScale(GUI.Scale), GetFilterScale(GUI.ScaleHiRes)), GUI.FullscreenMode.depth, GUI.FullscreenMode.rate,
|
||||||
|
TRUE, 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