mirror of
https://github.com/glfw/glfw.git
synced 2024-11-12 17:51:48 +00:00
Fix typos
This commit is contained in:
parent
bf1c62b261
commit
b66f105f3e
@ -793,7 +793,7 @@ extern "C" {
|
|||||||
* [custom cursor](@ref cursor_custom).
|
* [custom cursor](@ref cursor_custom).
|
||||||
*/
|
*/
|
||||||
#define GLFW_CURSOR_UNAVAILABLE 0x0001000B
|
#define GLFW_CURSOR_UNAVAILABLE 0x0001000B
|
||||||
/*! @brief The reuqested feature is not provided by the platform.
|
/*! @brief The requested feature is not provided by the platform.
|
||||||
*
|
*
|
||||||
* The requested feature is not provided by the platform, so GLFW is unable to
|
* The requested feature is not provided by the platform, so GLFW is unable to
|
||||||
* implement it. The documentation for each function notes if it could emit
|
* implement it. The documentation for each function notes if it could emit
|
||||||
|
@ -164,7 +164,7 @@ void _glfwPollMonitorsX11(void)
|
|||||||
if (widthMM <= 0 || heightMM <= 0)
|
if (widthMM <= 0 || heightMM <= 0)
|
||||||
{
|
{
|
||||||
// HACK: If RandR does not provide a physical size, assume the
|
// HACK: If RandR does not provide a physical size, assume the
|
||||||
// X11 default 96 DPI and calcuate from the CRTC viewport
|
// X11 default 96 DPI and calculate from the CRTC viewport
|
||||||
// NOTE: These members are affected by rotation, unlike the mode
|
// NOTE: These members are affected by rotation, unlike the mode
|
||||||
// info and output info members
|
// info and output info members
|
||||||
widthMM = (int) (ci->width * 25.4f / 96.f);
|
widthMM = (int) (ci->width * 25.4f / 96.f);
|
||||||
|
Loading…
Reference in New Issue
Block a user