Fix T39825: Crash on startup with tablet

This commit is contained in:
Campbell Barton 2014-07-03 16:31:04 +10:00
parent 04fdd35ba5
commit d5297b6283
Notes: blender-bot 2023-02-14 10:46:11 +01:00
Referenced by issue #39825, x64 Blender Crashes on startup - Graphics tablet Access Violation
1 changed files with 1 additions and 1 deletions

View File

@ -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