The primary monitor, or null if no monitors were found or if an error occurred.
Errors: Possible errors include @ref GLFW_NOT_INITIALIZED.
This function must only be called from the main thread.
@remark The primary monitor is always first in the array returned by @ref glfwGetMonitors.
@sa @ref monitor_monitors @sa @ref glfwGetMonitors
Added in version 3.0.
Ingroup: monitor
Page generated by adrdox
Returns the primary monitor.
This function returns the primary monitor. This is usually the monitor where elements like the task bar or global menu bar are located.