macOS: Use a custom mouse cursor that shows up well on both light and dark backgrounds

Fixes #359. Also, update GLFW from upstream for retina cursor setting
support.
This commit is contained in:
Kovid Goyal
2018-07-07 10:39:30 +05:30
parent 1faddeb402
commit 4313531432
15 changed files with 101 additions and 38 deletions

2
glfw/win32_window.c vendored
View File

@@ -1839,7 +1839,7 @@ int _glfwPlatformGetKeyScancode(int key)
int _glfwPlatformCreateCursor(_GLFWcursor* cursor,
const GLFWimage* image,
int xhot, int yhot)
int xhot, int yhot, int count)
{
cursor->win32.handle = (HCURSOR) createIcon(image, xhot, yhot, GLFW_FALSE);
if (!cursor->win32.handle)