Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-04-27 22:00:53 +0300
committerRay Molenkamp <github@lazydodo.com>2020-04-27 22:00:53 +0300
commit7951ec264114c688df5d4204b65b77ac7889d819 (patch)
tree5a5cf3c95b54d928db2608cd8b8b3732196f6aaa /intern/ghost
parenta1b1f2acd433e7e76cbb6111a6688277f7c1feaf (diff)
Cleanup: Fix warning about initialization order with MSVC
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_WindowWin32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_WindowWin32.cpp b/intern/ghost/intern/GHOST_WindowWin32.cpp
index b0ba7b6befb..8b95cdd6351 100644
--- a/intern/ghost/intern/GHOST_WindowWin32.cpp
+++ b/intern/ghost/intern/GHOST_WindowWin32.cpp
@@ -72,6 +72,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
bool is_debug,
bool dialog)
: GHOST_Window(width, height, state, wantStereoVisual, false),
+ m_tabletInRange(false),
m_inLiveResize(false),
m_system(system),
m_hDC(0),
@@ -86,8 +87,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(GHOST_SystemWin32 *system,
m_fpGetPointerPenInfoHistory(NULL),
m_fpGetPointerTouchInfoHistory(NULL),
m_parentWindowHwnd(parentwindow ? parentwindow->m_hWnd : NULL),
- m_debug_context(is_debug),
- m_tabletInRange(false)
+ m_debug_context(is_debug)
{
// Initialize tablet variables
memset(&m_wintab, 0, sizeof(m_wintab));