mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-01-25 20:41:09 +00:00
SDL_windowsmouse.c: Remove LR_COPYDELETEORG flag
This commit is contained in:
parent
67c42cb44c
commit
7fea557b99
|
@ -153,7 +153,7 @@ WIN_CreateCursor(SDL_Surface * surface, int hot_x, int hot_y)
|
||||||
|
|
||||||
/* The cursor returned by CreateIconIndirect does not respect system cursor size
|
/* The cursor returned by CreateIconIndirect does not respect system cursor size
|
||||||
preference, use CopyImage to duplicate the cursor with desired sizes */
|
preference, use CopyImage to duplicate the cursor with desired sizes */
|
||||||
hcursor = CopyImage(hicon, IMAGE_CURSOR, 0, 0, LR_COPYDELETEORG | LR_DEFAULTSIZE);
|
hcursor = CopyImage(hicon, IMAGE_CURSOR, 0, 0, LR_DEFAULTSIZE);
|
||||||
if (!hcursor) {
|
if (!hcursor) {
|
||||||
DestroyIcon(hicon);
|
DestroyIcon(hicon);
|
||||||
WIN_SetError("CopyImage()");
|
WIN_SetError("CopyImage()");
|
||||||
|
|
Loading…
Reference in a new issue