fixed bug in im3d; worked on resizing windows

This commit is contained in:
aap
2017-10-21 22:21:36 +02:00
parent 7273afb9a3
commit 9609a91848
9 changed files with 53 additions and 15 deletions

View File

@@ -189,7 +189,8 @@ WinMain(HINSTANCE instance, HINSTANCE,
*/
args.argc = __argc;
args.argv = __argv;
EventHandler(INITIALIZE, nil);
if(EventHandler(INITIALIZE, nil) == EVENTERROR)
return 0;
HWND win = MakeWindow(instance,
sk::globals.width, sk::globals.height,