mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
ISO C90
This commit is contained in:
parent
ffae283e41
commit
8fe887fe00
@ -332,6 +332,7 @@ BOOL loadWin7MonitorPointers(AccurateMonitorNameRequiredData *io_ptrs)
|
|||||||
// If the returned pointer is valid (not NULL) the caller of this function is in charge of freeing the memory when he is done.
|
// If the returned pointer is valid (not NULL) the caller of this function is in charge of freeing the memory when he is done.
|
||||||
static char * GetAccurateMonitorName(const WCHAR *deviceName)
|
static char * GetAccurateMonitorName(const WCHAR *deviceName)
|
||||||
{
|
{
|
||||||
|
AccurateMonitorNameRequiredData dllPointers;
|
||||||
DISPLAYCONFIG_PATH_INFO *paths;
|
DISPLAYCONFIG_PATH_INFO *paths;
|
||||||
DISPLAYCONFIG_MODE_INFO *modes;
|
DISPLAYCONFIG_MODE_INFO *modes;
|
||||||
char *retval;
|
char *retval;
|
||||||
@ -348,7 +349,6 @@ static char * GetAccurateMonitorName(const WCHAR *deviceName)
|
|||||||
i = 0;
|
i = 0;
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
|
||||||
AccurateMonitorNameRequiredData dllPointers;
|
|
||||||
if(loadWin7MonitorPointers(&dllPointers) == 0)
|
if(loadWin7MonitorPointers(&dllPointers) == 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user