mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
forgot void SetDisplayDefaults() to make it compile!
This commit is contained in:
parent
6a89b2ab65
commit
971a354ebe
1 changed files with 6 additions and 4 deletions
|
|
@ -174,10 +174,12 @@ void Win32Window::setVideoMode( const GFXVideoMode &mode )
|
||||||
dv.dmFields = (DM_PELSWIDTH | DM_PELSHEIGHT);
|
dv.dmFields = (DM_PELSWIDTH | DM_PELSHEIGHT);
|
||||||
ChangeDisplaySettings(&dv, CDS_FULLSCREEN);
|
ChangeDisplaySettings(&dv, CDS_FULLSCREEN);
|
||||||
SetWindowLong(getHWND(), GWL_STYLE, dwStyle & ~WS_OVERLAPPEDWINDOW);
|
SetWindowLong(getHWND(), GWL_STYLE, dwStyle & ~WS_OVERLAPPEDWINDOW);
|
||||||
SetWindowPos(getHWND(), HWND_TOP, mi.rcMonitor.left, mi.rcMonitor.top,
|
SetWindowPos(getHWND(), HWND_TOP,
|
||||||
mi.rcMonitor.right - mi.rcMonitor.left,
|
mi.rcMonitor.left,
|
||||||
mi.rcMonitor.bottom - mi.rcMonitor.top,
|
mi.rcMonitor.top,
|
||||||
SWP_NOOWNERZORDER | SWP_FRAMECHANGED);
|
mi.rcMonitor.right - mi.rcMonitor.left,
|
||||||
|
mi.rcMonitor.bottom - mi.rcMonitor.top,
|
||||||
|
SWP_NOOWNERZORDER | SWP_FRAMECHANGED);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(mDisplayWindow)
|
if(mDisplayWindow)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue