mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 16:44:11 +00:00
Moved platform specific monitor list creation part to separate functions.
This commit is contained in:
@@ -145,6 +145,15 @@ GLFWAPI void glfwSetMonitorDeviceCallback(GLFWmonitordevicefun cbfun)
|
||||
_glfwLibrary.monitorCallback= cbfun;
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// Initialize the monitor list.
|
||||
//========================================================================
|
||||
|
||||
void _glfwInitMonitors(void)
|
||||
{
|
||||
_glfwLibrary.monitorListHead = _glfwCreateMonitors();
|
||||
}
|
||||
|
||||
//========================================================================
|
||||
// Delete the monitor list.
|
||||
//========================================================================
|
||||
|
||||
Reference in New Issue
Block a user