1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-22 18:28:52 -05:00

Fix typos

This commit is contained in:
Luflosi 2020-06-23 16:20:27 +02:00
parent bf1c62b261
commit b66f105f3e
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);