diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2017-05-16 14:42:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 14:42:32 +0300 |
commit | d2f79bd2c7004af2d1459e8d5b7748763f241a54 (patch) | |
tree | 64300bccb750e59f7c3a05800eafcd5c3b3f89cb /qt/qt_common/map_widget.cpp | |
parent | aa6703383e8d4c2ff8445e8b3c27728846cdab4b (diff) | |
parent | 086d6f9cf247cea07cff6bc33d5567dc7c64806b (diff) |
Merge pull request #6040 from rokuz/es3-supportbeta-810
Added OpenGL ES3 support
Diffstat (limited to 'qt/qt_common/map_widget.cpp')
-rw-r--r-- | qt/qt_common/map_widget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt/qt_common/map_widget.cpp b/qt/qt_common/map_widget.cpp index 1adb8fd186..8d7243bf27 100644 --- a/qt/qt_common/map_widget.cpp +++ b/qt/qt_common/map_widget.cpp @@ -92,6 +92,7 @@ void MapWidget::BindSlider(ScaleSlider & slider) void MapWidget::CreateEngine() { Framework::DrapeCreationParams p; + p.m_apiVersion = dp::ApiVersion::OpenGLES2; p.m_surfaceWidth = m_ratio * width(); p.m_surfaceHeight = m_ratio * height(); p.m_visualScale = m_ratio; |