[fixed]Win32 Icon scale issues
Posted: Sun Jun 19, 2016 6:36 pm
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
to
Seemed to solve it for me.
Changing
Code: Select all
wcex.hIcon = (HICON)LoadImage(hInstance, __TEXT("irrlicht.ico"), IMAGE_ICON, 0,0, LR_LOADFROMFILE);
Code: Select all
wcex.hIcon = (HICON)LoadImage(hInstance, __TEXT("irrlicht.ico"), IMAGE_ICON, 0,0, LR_LOADFROMFILE | LR_DEFAULTSIZE);