Odin icon indicating copy to clipboard operation
Odin copied to clipboard

Add windows.ShowCursor

Open englerj opened this issue 3 years ago • 3 comments

englerj avatar Sep 05 '22 23:09 englerj

I'm unsure what course of action to take here. It seems that the foreign declaration of ShowCursor from windows (User32) is colliding with ShowCursor from Raylib.

englerj avatar Sep 10 '22 12:09 englerj

I need ShowCursor too and would like to see some resolution to this PR.

Lperlind avatar Oct 09 '22 01:10 Lperlind

It is under discussion. What we'll likely have to do is one of the following:

  • For Windows, dynamically import ShowCursor and wrap it to avoid the link conflict.
  • For RayLib don't link with ShowCursor on Windows, and instead call the Windows version there.

Kelimion avatar Oct 09 '22 02:10 Kelimion