diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-09-27 18:35:30 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:24:36 +0300 |
commit | d28525647f835013a7bd4b9ea7b002c3f02568d6 (patch) | |
tree | 423adf3ef440d66962c2128e6ddcaaa1e9e51f08 /map/qgl_render_context.cpp | |
parent | 43cf802200d41bc91d8916a5be85a22258c36147 (diff) |
calling glPixelStorei(GL_UNPACK_ALIGNMENT, 1) for each OpenGL thread. closes #341
Diffstat (limited to 'map/qgl_render_context.cpp')
-rw-r--r-- | map/qgl_render_context.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/map/qgl_render_context.cpp b/map/qgl_render_context.cpp index 6525860b96..14865bd576 100644 --- a/map/qgl_render_context.cpp +++ b/map/qgl_render_context.cpp @@ -30,6 +30,7 @@ namespace qt void RenderContext::makeCurrent() { m_context->makeCurrent(); + yg::gl::RenderContext::initParams(); } shared_ptr<yg::gl::RenderContext> RenderContext::createShared() |