summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/glfw/glfw_gl_backend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/glfw/glfw_gl_backend.cpp b/platform/glfw/glfw_gl_backend.cpp
index d0975fc08f..0a949016ed 100644
--- a/platform/glfw/glfw_gl_backend.cpp
+++ b/platform/glfw/glfw_gl_backend.cpp
@@ -58,7 +58,7 @@ mbgl::gl::ProcAddress GLFWGLBackend::getExtensionFunctionPointer(const char* nam
void GLFWGLBackend::updateAssumedState() {
assumeFramebufferBinding(0);
- assumeViewport(0, 0, size);
+ setViewport(0, 0, size);
}
mbgl::Size GLFWGLBackend::getSize() const {