- X11 tablet was using uninitialized variables.
[blender-staging.git] / intern / ghost / intern / GHOST_WindowX11.cpp
index 73d61a30977ecf18c1c44fc3fc6e045ee78613b3..5a1f3bf1e217e60fba01500269d47c0dd61c2134 100644 (file)
@@ -177,6 +177,8 @@ GHOST_WindowX11(
                printf("%s:%d: X11 glxChooseVisual() failed for OpenGL, verify working openGL system!\n", __FILE__, __LINE__);
                return;
        }
+       
+       memset(&m_xtablet, 0, sizeof(m_xtablet));
 
        // Create a bunch of attributes needed to create an X window.