Window icon loading

This commit is contained in:
Jack Andersen 2016-01-27 09:26:45 -10:00
parent 147115b6ac
commit a35119e849
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include <shellapi.h>
#include <initguid.h>
#include <Usbiodef.h>
#include <winver.h>
#if _DEBUG
#define D3D11_CREATE_DEVICE_FLAGS D3D11_CREATE_DEVICE_DEBUG
@ -412,6 +413,7 @@ int ApplicationRun(IApplication::EPlatformType platform,
0,
L"BooWindow"
};
wndClass.hIcon = LoadIconW(wndClass.hInstance, MAKEINTRESOURCEW(101));
RegisterClassW(&wndClass);