1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00
This commit is contained in:
Camilla Löwy 2017-03-20 17:51:03 +01:00
parent 11c15b562d
commit 72d58d7b93

View File

@ -660,11 +660,8 @@ static GLFWbool initExtensions(void)
// //
static Cursor createHiddenCursor(void) static Cursor createHiddenCursor(void)
{ {
unsigned char pixels[16 * 16 * 4]; unsigned char pixels[16 * 16 * 4] = { 0 };
GLFWimage image = { 16, 16, pixels }; GLFWimage image = { 16, 16, pixels };
memset(pixels, 0, sizeof(pixels));
return _glfwCreateCursorX11(&image, 0, 0); return _glfwCreateCursorX11(&image, 0, 0);
} }