Hi, I just integrated SDL into my DX11 3D Engine, and I noticed that when I try to enter full screen (1920x1080) SDL is modifying my full screen resolution to something else, like 1916x1118 (if I recall correctly).
I didn’t have this problem before integrating SDL so I looking at the SDL WinProc I found a handler for WM_GETMINMAXINFO.
Removing that handler solved the problem. Now 2 questions:
Is there a better way to do this? like telling SDL I’m going fullscreen so it can recognize the proper full screen window size?
By removing the WM_GETMINMAXINFO handler, what SDL functionallity I’m affecting ?
Is that SDL 2.0.1 or the latest code from Mercurial? Some issues on Windows related to window auto-resizing have been fixed since 2.0.1?s release.On Nov 30, 2013, at 5:14 PM, Enlight wrote:
Hi, I just integrated SDL into my DX11 3D Engine, and I noticed that when I try to enter full screen (1920x1080) SDL is modifying my full screen resolution to something else, like 1916x1118 (if I recall correctly).
I didn’t have this problem before integrating SDL so I looking at the SDL WinProc I found a handler for WM_GETMINMAXINFO.
Removing that handler solved the problem. Now 2 questions:
Is there a better way to do this? like telling SDL I’m going fullscreen so it can recognize the proper full screen window size?
By removing the WM_GETMINMAXINFO handler, what SDL functionallity I’m affecting ?