diff options
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 f898e5e5cf..f15f7c42e4 100644 --- a/map/qgl_render_context.cpp +++ b/map/qgl_render_context.cpp @@ -31,9 +31,9 @@ namespace qt m_context->makeCurrent(); } - shared_ptr<graphics::RenderContext> RenderContext::createShared() + graphics::RenderContext * RenderContext::createShared() { - shared_ptr<graphics::gl::RenderContext> res(new RenderContext(this)); + graphics::gl::RenderContext * res = new RenderContext(this); res->setResourceManager(resourceManager()); return res; } |