mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 06:42:03 +00:00
w32_common: don't set small icon
Windows will automatically choose the correct icon size if this field is unset.
This commit is contained in:
parent
24fa69dbfa
commit
b3b59b9a2d
@ -826,17 +826,14 @@ int vo_w32_init(struct vo *vo)
|
||||
|
||||
HINSTANCE hInstance = GetModuleHandleW(NULL);
|
||||
|
||||
HICON mplayerIcon = LoadIconW(hInstance, L"IDI_ICON1");
|
||||
|
||||
WNDCLASSEXW wcex = {
|
||||
.cbSize = sizeof wcex,
|
||||
.style = CS_OWNDC | CS_HREDRAW | CS_VREDRAW,
|
||||
.lpfnWndProc = WndProc,
|
||||
.hInstance = hInstance,
|
||||
.hIcon = mplayerIcon,
|
||||
.hIcon = LoadIconW(hInstance, L"IDI_ICON1"),
|
||||
.hCursor = LoadCursor(NULL, IDC_ARROW),
|
||||
.lpszClassName = classname,
|
||||
.hIconSm = mplayerIcon,
|
||||
};
|
||||
|
||||
if (!RegisterClassExW(&wcex)) {
|
||||
|
Loading…
Reference in New Issue
Block a user