diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-04-21 03:03:35 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-04-21 03:03:35 +0000 |
| commit | 12f29884f41303fe59502eee5789a4481fb1cffe (patch) | |
| tree | a54a317efcd984b0723c066cd75a74d864550846 /Common/NativeApp/src/Win32/WinMain.cpp | |
| parent | Fixed errors in blend state test on Vulkan (diff) | |
| download | DiligentEngine-12f29884f41303fe59502eee5789a4481fb1cffe.tar.gz DiligentEngine-12f29884f41303fe59502eee5789a4481fb1cffe.zip | |
Few updates (restricted minimal window size on Win32, updated RawPtr() method, updated submodules)
Diffstat (limited to 'Common/NativeApp/src/Win32/WinMain.cpp')
| -rw-r--r-- | Common/NativeApp/src/Win32/WinMain.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Common/NativeApp/src/Win32/WinMain.cpp b/Common/NativeApp/src/Win32/WinMain.cpp index ff6b3b2..24777b5 100644 --- a/Common/NativeApp/src/Win32/WinMain.cpp +++ b/Common/NativeApp/src/Win32/WinMain.cpp @@ -141,6 +141,14 @@ LRESULT CALLBACK MessageProc(HWND wnd, UINT message, WPARAM wParam, LPARAM lPara PostQuitMessage(0); return 0; + case WM_GETMINMAXINFO: + { + LPMINMAXINFO lpMMI = (LPMINMAXINFO)lParam; + lpMMI->ptMinTrackSize.x = 320; + lpMMI->ptMinTrackSize.y = 240; + return 0; + } + default: return DefWindowProc(wnd, message, wParam, lParam); } |
