mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 00:30:57 +00:00
Formatting.
This commit is contained in:
@@ -132,6 +132,7 @@ GLFWAPI const char* glfwGetMonitorString(GLFWmonitor handle, int param)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Set a callback function for monitor events
|
||||
//========================================================================
|
||||
@@ -147,6 +148,7 @@ GLFWAPI void glfwSetMonitorDeviceCallback(GLFWmonitordevicefun cbfun)
|
||||
_glfwLibrary.monitorCallback= cbfun;
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Initialize the monitor list.
|
||||
//========================================================================
|
||||
@@ -156,6 +158,7 @@ void _glfwInitMonitors(void)
|
||||
_glfwLibrary.monitorListHead = _glfwCreateMonitors();
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Refresh monitor list and notify callback.
|
||||
//========================================================================
|
||||
@@ -240,6 +243,7 @@ void _glfwRefreshMonitors(void)
|
||||
_glfwLibrary.monitorListHead = newMonitorList;
|
||||
}
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Delete the monitor list.
|
||||
//========================================================================
|
||||
|
||||
Reference in New Issue
Block a user