summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/glfw/glfw_view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/glfw/glfw_view.cpp b/platform/glfw/glfw_view.cpp
index 812b0e32af..82f075fd6f 100644
--- a/platform/glfw/glfw_view.cpp
+++ b/platform/glfw/glfw_view.cpp
@@ -459,7 +459,7 @@ void GLFWView::run() {
if (dirty) {
const double started = glfwGetTime();
- glfwMakeContextCurrent(window);
+ activate();
mbgl::BackendScope scope { *this, mbgl::BackendScope::ScopeType::Implicit };
updateViewBinding();