From a21f586c3b36ccf452ea06582005d897f98c3ec6 Mon Sep 17 00:00:00 2001 From: Elviss Strazdins Date: Thu, 2 Apr 2015 14:19:57 +0300 Subject: [PATCH] Removed check for whether context is current. The GLFW TLS slot will be out of sync if an outside source makes another context current. Fixes #487. --- src/context.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/context.c b/src/context.c index bf53410f..6212630b 100644 --- a/src/context.c +++ b/src/context.c @@ -530,9 +530,6 @@ GLFWAPI void glfwMakeContextCurrent(GLFWwindow* handle) _GLFW_REQUIRE_INIT(); - if (_glfwPlatformGetCurrentContext() == window) - return; - _glfwPlatformMakeContextCurrent(window); }