mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 20:23:53 +00:00
- On Windows, Godot now goes fullscreen without video mode change.
This commit is contained in:
parent
e82dc40205
commit
8b8e26c0bd
@ -983,7 +983,10 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_
|
||||
memset(¤t,0,sizeof(current));
|
||||
EnumDisplaySettings(NULL, ENUM_CURRENT_SETTINGS, ¤t);
|
||||
|
||||
DEVMODE dmScreenSettings;
|
||||
WindowRect.right = current.dmPelsWidth;
|
||||
WindowRect.bottom = current.dmPelsHeight;
|
||||
|
||||
/* DEVMODE dmScreenSettings;
|
||||
memset(&dmScreenSettings,0,sizeof(dmScreenSettings));
|
||||
dmScreenSettings.dmSize=sizeof(dmScreenSettings);
|
||||
dmScreenSettings.dmPelsWidth = video_mode.width;
|
||||
@ -995,7 +998,7 @@ void OS_Windows::initialize(const VideoMode& p_desired,int p_video_driver,int p_
|
||||
if (err!=DISP_CHANGE_SUCCESSFUL) {
|
||||
|
||||
video_mode.fullscreen=false;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
DWORD dwExStyle;
|
||||
|
Loading…
Reference in New Issue
Block a user