(RGFW) (winapi) fix mouse hide bug when cursor changes
This commit is contained in:
parent
fc8656e785
commit
fe4902b36c
1
src/external/RGFW.h
vendored
1
src/external/RGFW.h
vendored
|
|
@ -4701,7 +4701,6 @@ static HMODULE wglinstance = NULL;
|
||||||
|
|
||||||
char* icon = MAKEINTRESOURCEA(mouse);
|
char* icon = MAKEINTRESOURCEA(mouse);
|
||||||
|
|
||||||
RGFW_window_showMouse(win, 1);
|
|
||||||
SetClassLongPtrA(win->src.window, GCLP_HCURSOR, (LPARAM) LoadCursorA(NULL, icon));
|
SetClassLongPtrA(win->src.window, GCLP_HCURSOR, (LPARAM) LoadCursorA(NULL, icon));
|
||||||
SetCursor(LoadCursorA(NULL, icon));
|
SetCursor(LoadCursorA(NULL, icon));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user