diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2010-12-29 01:44:50 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:08:49 +0300 |
commit | 4223de90999ac069efbef4739e5865318710c706 (patch) | |
tree | 1d928538e80a2462ca621bf39f2ca5ab7bcbe0fc /qt_tstfrm | |
parent | 4a6c966291a2d4b3d9bfba98d47d0691cafcd42e (diff) |
reserveBlitStorage/freeBlitStorage
Diffstat (limited to 'qt_tstfrm')
-rw-r--r-- | qt_tstfrm/tstwidgets.cpp | 9 |
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)); |