Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2010-12-29 01:44:50 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:49 +0300
commit4223de90999ac069efbef4739e5865318710c706 (patch)
tree1d928538e80a2462ca621bf39f2ca5ab7bcbe0fc /qt_tstfrm
parent4a6c966291a2d4b3d9bfba98d47d0691cafcd42e (diff)
reserveBlitStorage/freeBlitStorage
Diffstat (limited to 'qt_tstfrm')
-rw-r--r--qt_tstfrm/tstwidgets.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index b2e4aabbca..e10ecfde4b 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -46,6 +46,9 @@ void GLDrawWidget::initializeGL()
3000 * sizeof(yg::gl::Vertex),
5000 * sizeof(unsigned short),
100,
+ 2048,
+ 2048,
+ 30,
512, 256, 15,
2000000));
@@ -57,7 +60,11 @@ void GLDrawWidget::initializeGL()
20,
256, 256, 10));*/
- m_p = make_shared_ptr(new yg::gl::Screen(m_resourceManager, false));
+ yg::gl::Screen::Params params;
+ params.m_resourceManager = m_resourceManager;
+ params.m_isAntiAliased = false;
+
+ m_p = make_shared_ptr(new yg::gl::Screen(params));
m_primaryFrameBuffer = make_shared_ptr(new yg::gl::FrameBuffer(true));