From b6764c43db2c0427037e391e93aa514abbf429cd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 9 Apr 2018 19:09:00 +0200 Subject: [PATCH] Buildfix --- gfx/common/win32_common.h | 2 -- ui/drivers/ui_win32.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index 963db7f2cf..d780dc5a67 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -62,8 +62,6 @@ void create_gdi_context(HWND hwnd, bool *quit); bool gdi_has_menu_frame(void); -bool win32_shader_dlg_init(void); -void shader_dlg_show(HWND parent_hwnd); void shader_dlg_params_reload(void); #endif diff --git a/ui/drivers/ui_win32.c b/ui/drivers/ui_win32.c index 8de635b29c..ec7c2265cc 100644 --- a/ui/drivers/ui_win32.c +++ b/ui/drivers/ui_win32.c @@ -447,7 +447,7 @@ static LRESULT CALLBACK ShaderDlgWndProc(HWND hwnd, UINT message, return DefWindowProc(hwnd, message, wparam, lparam); } -bool win32_shader_dlg_init(void) +static bool win32_shader_dlg_init(void) { static bool inited = false; int pos_y;