(Win32) Buildfixes

This commit is contained in:
twinaphex 2015-11-12 05:17:21 +01:00
parent 105236a543
commit 8d0e375de0
3 changed files with 3 additions and 2 deletions

View File

@ -48,6 +48,7 @@ bool g_restore_desktop;
static unsigned g_pos_x = CW_USEDEFAULT; static unsigned g_pos_x = CW_USEDEFAULT;
static unsigned g_pos_y = CW_USEDEFAULT; static unsigned g_pos_y = CW_USEDEFAULT;
static bool g_resized; static bool g_resized;
bool g_inited;
bool g_quit; bool g_quit;
HWND g_hwnd; HWND g_hwnd;

View File

@ -34,6 +34,7 @@
extern unsigned g_resize_width; extern unsigned g_resize_width;
extern unsigned g_resize_height; extern unsigned g_resize_height;
extern bool g_quit; extern bool g_quit;
extern bool g_inited;
extern bool g_restore_desktop; extern bool g_restore_desktop;
extern HWND g_hwnd; extern HWND g_hwnd;
@ -56,7 +57,7 @@ void win32_monitor_init(void);
bool win32_set_video_mode(void *data, bool win32_set_video_mode(void *data,
unsigned width, unsigned height, unsigned width, unsigned height,
bool fullscreen) bool fullscreen);
bool win32_monitor_set_fullscreen(unsigned width, bool win32_monitor_set_fullscreen(unsigned width,
unsigned height, unsigned refresh, char *dev_name); unsigned height, unsigned refresh, char *dev_name);

View File

@ -72,7 +72,6 @@ static HDC g_hdc;
static unsigned g_major; static unsigned g_major;
static unsigned g_minor; static unsigned g_minor;
static bool g_inited;
static unsigned g_interval; static unsigned g_interval;
static dylib_t dll_handle = NULL; /* Handle to OpenGL32.dll */ static dylib_t dll_handle = NULL; /* Handle to OpenGL32.dll */