win32_common.cpp - turn function static

This commit is contained in:
twinaphex 2016-11-06 18:35:00 +01:00
parent 14f56e15c9
commit 64154f6060
2 changed files with 6 additions and 9 deletions

View File

@ -573,7 +573,7 @@ void win32_monitor_init(void)
g_quit = false; 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) unsigned refresh, char *dev_name)
{ {
#ifndef _XBOX #ifndef _XBOX
@ -586,7 +586,7 @@ bool win32_monitor_set_fullscreen(unsigned width, unsigned height,
devmode.dmDisplayFrequency = refresh; devmode.dmDisplayFrequency = refresh;
devmode.dmFields = DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFREQUENCY; 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); width, height, refresh, dev_name);
return ChangeDisplaySettingsEx(dev_name, &devmode, return ChangeDisplaySettingsEx(dev_name, &devmode,
NULL, CDS_FULLSCREEN, NULL) == DISP_CHANGE_SUCCESSFUL; NULL, CDS_FULLSCREEN, NULL) == DISP_CHANGE_SUCCESSFUL;

View File

@ -65,9 +65,6 @@ 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,
unsigned height, unsigned refresh, char *dev_name);
#ifndef _XBOX #ifndef _XBOX
RETRO_BEGIN_DECLS RETRO_BEGIN_DECLS