Check scancode before use in glfwGetKeyName

(cherry picked from commit 5f1631cb0e)
This commit is contained in:
Camilla Löwy
2020-01-15 16:34:58 +01:00
parent 0af3bf3b36
commit ec28696994
4 changed files with 23 additions and 0 deletions

View File

@@ -119,6 +119,8 @@ information on what to include when reporting a bug.
## Changelog
- [Win32] Bugfix: Super key was not released after Win+V hotkey (#1622)
- [Win32] Bugfix: `glfwGetKeyName` could access out of bounds and return an
invalid pointer
- [Cocoa] Added support for `VK_EXT_metal_surface` (#1619)
- [Cocoa] Added locating the Vulkan loader at runtime in an application bundle
- [X11] Bugfix: `glfwFocusWindow` could terminate on older WMs or without a WM