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

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