diff options
author | Thomas Dinges <blender@dingto.org> | 2009-09-16 21:13:03 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-09-16 21:13:03 +0400 |
commit | 6b5ba700594051b834008020b9371601ee52268c (patch) | |
tree | 6d07c20b643abb1652af39a1a615cbc32ca1ce1d /intern | |
parent | 7c5695c8011d128d7a40b28bf2146fdaab063dbe (diff) |
2.5 Ghost Compile Fix for windows. Patch by b333rt. Thanks!
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp index 7cc75979030..e2caf31edee 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.cpp +++ b/intern/ghost/intern/GHOST_WindowWin32.cpp @@ -720,15 +720,15 @@ void GHOST_WindowWin32::processWin32TabletEvent(WPARAM wParam, LPARAM lParam) switch (pkt.pkCursor) { case 0: /* first device */ case 3: /* second device */ - m_tabletData->Active = 0; /* puck - not yet supported */ + m_tabletData->Active = GHOST_kTabletModeNone; /* puck - not yet supported */ break; case 1: case 4: - m_tabletData->Active = 1; /* stylus */ + m_tabletData->Active = GHOST_kTabletModeStylus; /* stylus */ break; case 2: case 5: - m_tabletData->Active = 2; /* eraser */ + m_tabletData->Active = GHOST_kTabletModeEraser; /* eraser */ break; } if (m_maxPressure > 0) { |