In later versions of Windows, with higher DPI and large icon sizes in the taskbar, it appears that Irrlicht doesn't seem to properly handle loading icons at the maximum size that is saved in the icon. I think without the flag, it will grab the first (smallest) image?
Changing
Code: Select all
wcex.hIcon = (HICON)LoadImage(hInstance, __TEXT("irrlicht.ico"), IMAGE_ICON, 0,0, LR_LOADFROMFILE);
to
Code: Select all
wcex.hIcon = (HICON)LoadImage(hInstance, __TEXT("irrlicht.ico"), IMAGE_ICON, 0,0, LR_LOADFROMFILE | LR_DEFAULTSIZE);
Seemed to solve it for me.