From 7d8c04c993fa6d2d37e41bfaef015970e1932e5c Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 9 Nov 2018 18:40:57 -0500 Subject: [PATCH] Activate GL context after polling events each frame, bump version --- Makefile | 2 +- src/window.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 622f9ba3..167f46e5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ RACK_DIR ?= . -VERSION = 0.6.2b +VERSION = 0.6.2c FLAGS += \ -Iinclude \ diff --git a/src/window.cpp b/src/window.cpp index bfba3a99..0245f57a 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -439,6 +439,7 @@ void windowRun() { // Poll events glfwPollEvents(); + glfwMakeContextCurrent(gWindow); { double xpos, ypos; glfwGetCursorPos(gWindow, &xpos, &ypos);