From 6243160ecdbf66462103d8b35b170f4a70672ccc Mon Sep 17 00:00:00 2001 From: Thomas la Cour Date: Fri, 1 Mar 2024 19:56:23 +0100 Subject: [PATCH] Cleanup of ShowCursor after Bill pushed a fix --- core/sys/windows/user32.odin | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/sys/windows/user32.odin b/core/sys/windows/user32.odin index c1a068857..a589c3ec9 100644 --- a/core/sys/windows/user32.odin +++ b/core/sys/windows/user32.odin @@ -93,8 +93,6 @@ foreign user32 { CreateCursor :: proc(hInst: HINSTANCE, xHotSpot: c_int, yHotSpot: c_int, nWidth: c_int, nHeight: c_int, pvANDPlane: PVOID, pvXORPlane: PVOID) -> HCURSOR --- DestroyCursor :: proc(hCursor: HCURSOR) -> BOOL --- - // ShowCursor somehow made the raylib fail with: D:/a/Odin/Odin/vendor/raylib/raylib.odin(1016:22) Redeclaration of foreign procedure 'ShowCursor' with different type signatures - // ShowCursor :: proc(bShow: BOOL) -> c_int --- GetWindowRect :: proc(hWnd: HWND, lpRect: LPRECT) -> BOOL --- GetClientRect :: proc(hWnd: HWND, lpRect: LPRECT) -> BOOL ---