Let DirectDraw react to display changes

This commit is contained in:
OV2 2010-12-02 20:22:18 +01:00
parent 8218618c6c
commit d92504e8ac
1 changed files with 2 additions and 1 deletions

View File

@ -748,7 +748,8 @@ void CDirectDraw::Render(SSurface Src)
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)