diff options
Diffstat (limited to 'platform/glfw')
-rw-r--r-- | platform/glfw/glfw_gl_backend.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/glfw/glfw_gl_backend.cpp b/platform/glfw/glfw_gl_backend.cpp index b61e2775d5..2d622fc193 100644 --- a/platform/glfw/glfw_gl_backend.cpp +++ b/platform/glfw/glfw_gl_backend.cpp @@ -20,7 +20,8 @@ private: }; GLFWGLBackend::GLFWGLBackend(GLFWwindow* window_) - : mbgl::gfx::Renderable( + : mbgl::gl::RendererBackend(mbgl::gfx::ContextMode::Unique), + mbgl::gfx::Renderable( [window_] { int fbWidth, fbHeight; glfwGetFramebufferSize(window_, &fbWidth, &fbHeight); |