Fix typos

This commit is contained in:
Luflosi
2020-06-23 16:18:02 +02:00
parent 36a20f7b00
commit 2b884377d4
8 changed files with 8 additions and 8 deletions

2
glfw/glfw3.h vendored
View File

@@ -831,7 +831,7 @@ extern "C" {
* @analysis Application programmer error. Fix the offending call.
*/
#define GLFW_NO_WINDOW_CONTEXT 0x0001000A
/*! @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
* implement it. The documentation for each function notes if it could emit

2
glfw/x11_monitor.c vendored
View File

@@ -169,7 +169,7 @@ void _glfwPollMonitorsX11(void)
if (widthMM <= 0 || heightMM <= 0)
{
// 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
// info and output info members
widthMM = (int) (ci->width * 25.4f / 96.f);