From 7951ec264114c688df5d4204b65b77ac7889d819 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Mon, 27 Apr 2020 13:00:53 -0600 Subject: Cleanup: Fix warning about initialization order with MSVC --- intern/ghost/intern/GHOST_WindowWin32.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/ghost') 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)); -- cgit v1.2.3