mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 12:40:07 +00:00
(Win32) Buildfixes
This commit is contained in:
parent
f2f0e7efb2
commit
ec9ae5f7ac
@ -172,7 +172,11 @@ static const char *win32_video_get_ident(void)
|
||||
return video_driver_get_ident();
|
||||
}
|
||||
|
||||
static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
#ifndef _MSC_VER
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -247,6 +251,10 @@ static LRESULT CALLBACK WndProc(HWND hwnd, UINT message,
|
||||
return DefWindowProc(hwnd, message, wparam, lparam);
|
||||
}
|
||||
|
||||
#ifndef _MSC_VER
|
||||
}
|
||||
#endif
|
||||
|
||||
bool win32_window_create(void *data, unsigned style,
|
||||
RECT *mon_rect, unsigned width,
|
||||
unsigned height, bool fullscreen)
|
||||
|
@ -62,7 +62,15 @@ bool win32_monitor_set_fullscreen(unsigned width,
|
||||
unsigned height, unsigned refresh, char *dev_name);
|
||||
|
||||
#ifndef _XBOX
|
||||
extern "C" bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name);
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
bool win32_window_create(void *data, unsigned style,
|
||||
|
@ -111,6 +111,8 @@ typedef struct
|
||||
int parameters_start_y;
|
||||
} shader_dlg_t;
|
||||
|
||||
extern LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
|
||||
|
||||
static shader_dlg_t g_shader_dlg = {0};
|
||||
|
||||
static INLINE void shader_dlg_refresh_trackbar_label(int index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user