This commit is contained in:
Camilla Löwy 2017-03-20 17:51:03 +01:00
parent 11c15b562d
commit 72d58d7b93
1 changed files with 1 additions and 4 deletions

View File

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