mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Removed C99-ism.
This commit is contained in:
parent
770daa19c8
commit
742a577230
|
@ -78,11 +78,12 @@ static int compareVideoModes(const void* firstPtr, const void* secondPtr)
|
|||
static int refreshVideoModes(_GLFWmonitor* monitor)
|
||||
{
|
||||
int modeCount;
|
||||
GLFWvidmode* modes;
|
||||
|
||||
if (monitor->modes)
|
||||
return GL_TRUE;
|
||||
|
||||
GLFWvidmode* modes = _glfwPlatformGetVideoModes(monitor, &modeCount);
|
||||
modes = _glfwPlatformGetVideoModes(monitor, &modeCount);
|
||||
if (!modes)
|
||||
return GL_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user