(Win32) Make g_pos_x/g_pos_y static

This commit is contained in:
twinaphex 2015-11-12 02:55:26 +01:00
parent 92f68fd614
commit 9961907d2c
2 changed files with 2 additions and 4 deletions

View File

@ -44,8 +44,8 @@ bool dinput_handle_message(void *dinput, UINT message, WPARAM wParam, LPARAM lPa
unsigned g_resize_width;
unsigned g_resize_height;
unsigned g_pos_x = CW_USEDEFAULT;
unsigned g_pos_y = CW_USEDEFAULT;
static unsigned g_pos_x = CW_USEDEFAULT;
static unsigned g_pos_y = CW_USEDEFAULT;
bool g_resized;
bool g_quit;
HWND g_hwnd;

View File

@ -33,8 +33,6 @@
extern unsigned g_resize_width;
extern unsigned g_resize_height;
extern unsigned g_pos_x;
extern unsigned g_pos_y;
extern bool g_resized;
extern bool g_quit;
extern HWND g_hwnd;