mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-19 17:36:33 +00:00
win32_common.cpp - turn function static
This commit is contained in:
parent
14f56e15c9
commit
64154f6060
@ -573,7 +573,7 @@ void win32_monitor_init(void)
|
||||
g_quit = false;
|
||||
}
|
||||
|
||||
bool win32_monitor_set_fullscreen(unsigned width, unsigned height,
|
||||
static bool win32_monitor_set_fullscreen(unsigned width, unsigned height,
|
||||
unsigned refresh, char *dev_name)
|
||||
{
|
||||
#ifndef _XBOX
|
||||
@ -586,7 +586,7 @@ bool win32_monitor_set_fullscreen(unsigned width, unsigned height,
|
||||
devmode.dmDisplayFrequency = refresh;
|
||||
devmode.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFREQUENCY;
|
||||
|
||||
RARCH_LOG("[WGL]: Setting fullscreen to %ux%u @ %uHz on device %s.\n",
|
||||
RARCH_LOG("Setting fullscreen to %ux%u @ %uHz on device %s.\n",
|
||||
width, height, refresh, dev_name);
|
||||
return ChangeDisplaySettingsEx(dev_name, &devmode,
|
||||
NULL, CDS_FULLSCREEN, NULL) == DISP_CHANGE_SUCCESSFUL;
|
||||
|
@ -65,9 +65,6 @@ bool win32_set_video_mode(void *data,
|
||||
unsigned width, unsigned height,
|
||||
bool fullscreen);
|
||||
|
||||
bool win32_monitor_set_fullscreen(unsigned width,
|
||||
unsigned height, unsigned refresh, char *dev_name);
|
||||
|
||||
#ifndef _XBOX
|
||||
RETRO_BEGIN_DECLS
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user