From 8d0e375de0b23e15af95ecc34e43ad2f1e5b7025 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Nov 2015 05:17:21 +0100 Subject: [PATCH] (Win32) Buildfixes --- gfx/common/win32_common.cpp | 1 + gfx/common/win32_common.h | 3 ++- gfx/drivers_context/wgl_ctx.cpp | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 8e0a78000f..4fdad8f3cf 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -48,6 +48,7 @@ bool g_restore_desktop; static unsigned g_pos_x = CW_USEDEFAULT; static unsigned g_pos_y = CW_USEDEFAULT; static bool g_resized; +bool g_inited; bool g_quit; HWND g_hwnd; diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index 9870c9f3c9..f9c4015c18 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -34,6 +34,7 @@ extern unsigned g_resize_width; extern unsigned g_resize_height; extern bool g_quit; +extern bool g_inited; extern bool g_restore_desktop; extern HWND g_hwnd; @@ -56,7 +57,7 @@ void win32_monitor_init(void); bool win32_set_video_mode(void *data, unsigned width, unsigned height, - bool fullscreen) + bool fullscreen); bool win32_monitor_set_fullscreen(unsigned width, unsigned height, unsigned refresh, char *dev_name); diff --git a/gfx/drivers_context/wgl_ctx.cpp b/gfx/drivers_context/wgl_ctx.cpp index 640cc84d1e..9eca74682e 100644 --- a/gfx/drivers_context/wgl_ctx.cpp +++ b/gfx/drivers_context/wgl_ctx.cpp @@ -72,7 +72,6 @@ static HDC g_hdc; static unsigned g_major; static unsigned g_minor; -static bool g_inited; static unsigned g_interval; static dylib_t dll_handle = NULL; /* Handle to OpenGL32.dll */