diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-03 10:31:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-03 10:33:47 +0400 |
commit | d5297b62834d629600c2d23582b237bb23f5bcd9 (patch) | |
tree | e3f03067ecc54694c544760652d3f84f34558161 /intern/ghost | |
parent | 04fdd35ba538dda8ec47b7267dee82320fda723f (diff) |
Fix T39825: Crash on startup with tablet
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 30001408947..274bdd349c3 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -1117,7 +1117,7 @@ GHOST_TSuccess GHOST_WindowWin32::setWindowCursorShape(GHOST_TStandardCursor cur void GHOST_WindowWin32::processWin32TabletInitEvent() { - if (m_wintab) { + if (m_wintab && m_tabletData) { GHOST_WIN32_WTInfo fpWTInfo = (GHOST_WIN32_WTInfo) ::GetProcAddress(m_wintab, "WTInfoA"); // let's see if we can initialize tablet here |