From 72d58d7b9318199a26ac01bb3040834bb10e3d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 20 Mar 2017 17:51:03 +0100 Subject: [PATCH] Cleanup --- src/x11_init.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/x11_init.c b/src/x11_init.c index 02ffcb57..1767b695 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -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); }