diff --git a/glfw/egl_context.c b/glfw/egl_context.c index 38431ae06..9008cba60 100644 --- a/glfw/egl_context.c +++ b/glfw/egl_context.c @@ -223,6 +223,7 @@ static int extensionSupportedEGL(const char* extension) static GLFWglproc getProcAddressEGL(const char* procname) { _GLFWwindow* window = _glfwPlatformGetTls(&_glfw.contextSlot); + assert(window != NULL); if (window->context.egl.client) {