diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-11-30 09:45:29 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:47:40 +0300 |
commit | 25e5d82be10b70513484bc104b581e0f87683182 (patch) | |
tree | d75da19d8cde6610f7924e50a37506bdfa074ebf /map/qgl_render_context.cpp | |
parent | bf20bd8216b507cb48d5bcb4471f3a79722ff62f (diff) |
refactored RenderContext hierarchy.
Diffstat (limited to 'map/qgl_render_context.cpp')
-rw-r--r-- | map/qgl_render_context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/qgl_render_context.cpp b/map/qgl_render_context.cpp index b666ec54a4..da9efd51b5 100644 --- a/map/qgl_render_context.cpp +++ b/map/qgl_render_context.cpp @@ -29,10 +29,10 @@ namespace qt void RenderContext::makeCurrent() { m_context->makeCurrent(); - graphics::gl::RenderContext::initParams(); + startThreadDrawing(); } - shared_ptr<graphics::gl::RenderContext> RenderContext::createShared() + shared_ptr<graphics::RenderContext> RenderContext::createShared() { return shared_ptr<graphics::gl::RenderContext>(new RenderContext(this)); } |