mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
Cleanup
This commit is contained in:
parent
70ffae7430
commit
bb3b3452f3
@ -620,7 +620,7 @@ static GLFWbool initExtensions(void)
|
||||
|
||||
// Create a blank cursor for hidden and disabled cursor modes
|
||||
//
|
||||
static Cursor createNULLCursor(void)
|
||||
static Cursor createHiddenCursor(void)
|
||||
{
|
||||
unsigned char pixels[16 * 16 * 4];
|
||||
GLFWimage image = { 16, 16, pixels };
|
||||
@ -743,7 +743,7 @@ int _glfwPlatformInit(void)
|
||||
if (!initExtensions())
|
||||
return GLFW_FALSE;
|
||||
|
||||
_glfw.x11.cursor = createNULLCursor();
|
||||
_glfw.x11.cursor = createHiddenCursor();
|
||||
|
||||
if (XSupportsLocale())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user