diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-02 07:41:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-02 07:41:42 +0400 |
commit | f45dcf022db02272d495ddfb07ffffe50e3f7f70 (patch) | |
tree | 0fad23b6b8c1023873ae1e170cf98f7b17ec9def /intern | |
parent | 0045a70d9619a5b0f3da9853c75587b765c1150a (diff) |
- X11 tablet was using uninitialized variables.
- Added BLENDER_FORCE_SWAPBUFFERS in help message.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowX11.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_WindowX11.cpp b/intern/ghost/intern/GHOST_WindowX11.cpp index 73d61a30977..5a1f3bf1e21 100644 --- a/intern/ghost/intern/GHOST_WindowX11.cpp +++ b/intern/ghost/intern/GHOST_WindowX11.cpp @@ -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. |