Update bundled glfw

This commit is contained in:
Kovid Goyal
2018-03-03 11:21:09 +05:30
parent 0dfe101c0f
commit 1edf1524f8
16 changed files with 1156 additions and 451 deletions

View File

@@ -1534,6 +1534,9 @@ void _glfwPlatformSetWindowOpacity(_GLFWwindow* window, float opacity)
void _glfwPlatformPollEvents(void)
{
if (!initializeAppKit())
return;
for (;;)
{
NSEvent* event = [NSApp nextEventMatchingMask:NSEventMaskAny