diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-02 16:34:32 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-04-05 11:49:17 +0200 |
commit | 5cc3d7a73328d6df9c16d27d6aca5b49ba085351 (patch) | |
tree | 0e8b9d6938846bf12ea63b1568c96852501a68cc /platform/glfw | |
parent | 4053776c27cde354acc36c27120c54427087721b (diff) | |
download | qtlocation-mapboxgl-5cc3d7a73328d6df9c16d27d6aca5b49ba085351.tar.gz |
[core] move GLContextMode to RendererBackend
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); |