mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
LR_DEFAULTSIZE
This commit is contained in:
parent
9daf081364
commit
e5bed7767e
@ -2593,7 +2593,7 @@ get_icon(const Filename &filename) {
|
||||
Filename os = resolved.to_os_specific();
|
||||
|
||||
HANDLE h = LoadImage(NULL, os.c_str(),
|
||||
IMAGE_ICON, 0, 0, LR_LOADFROMFILE);
|
||||
IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE);
|
||||
if (h == 0) {
|
||||
windisplay_cat.warning()
|
||||
<< "windows icon filename '" << os << "' could not be loaded!!\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user