From d2006c43c1b6024c3073e38583b7220f201efc7d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Nov 2015 02:57:56 +0100 Subject: [PATCH] Turn g_resized into static variable --- gfx/common/win32_common.cpp | 2 +- gfx/common/win32_common.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index cb935141f7..fe40272a61 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -46,7 +46,7 @@ unsigned g_resize_width; unsigned g_resize_height; static unsigned g_pos_x = CW_USEDEFAULT; static unsigned g_pos_y = CW_USEDEFAULT; -bool g_resized; +static bool g_resized; bool g_quit; HWND g_hwnd; diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index 9c95341fc5..ce500f4c0d 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -33,7 +33,6 @@ extern unsigned g_resize_width; extern unsigned g_resize_height; -extern bool g_resized; extern bool g_quit; extern HWND g_hwnd;