Win32: Pass fullscreen setting when applying directdraw display changes

This commit is contained in:
OV2 2010-12-30 01:23:13 +01:00
parent 32edb0315e
commit cae2aebb72
1 changed files with 1 additions and 1 deletions

View File

@ -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)