Merge branch 'latest' into new-cursors-on-3.3-stable

This commit is contained in:
Camilla Löwy
2024-02-23 12:47:46 +01:00
24 changed files with 211 additions and 115 deletions

View File

@@ -637,7 +637,7 @@ GLFWAPI const char* glfwGetKeyName(int key, int scancode)
GLFWAPI int glfwGetKeyScancode(int key)
{
_GLFW_REQUIRE_INIT_OR_RETURN(-1);
_GLFW_REQUIRE_INIT_OR_RETURN(0);
if (key < GLFW_KEY_SPACE || key > GLFW_KEY_LAST)
{