From 7fea557b995d8981e408707ed0ce24c009893072 Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Tue, 9 Nov 2021 12:03:09 +0800 Subject: [PATCH] SDL_windowsmouse.c: Remove LR_COPYDELETEORG flag --- src/video/windows/SDL_windowsmouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/windows/SDL_windowsmouse.c b/src/video/windows/SDL_windowsmouse.c index 54fdce95f..4c3cab100 100644 --- a/src/video/windows/SDL_windowsmouse.c +++ b/src/video/windows/SDL_windowsmouse.c @@ -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 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) { DestroyIcon(hicon); WIN_SetError("CopyImage()");