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>2012-11-12 14:51:18 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:46:47 +0300
commit599cbc140f200b530d619f2074c928d9c7fd7829 (patch)
treeb753800f170b3bf819fc2bf719a77a84690a7120 /qt_tstfrm
parentca0ee60ed3313935743eb3fd92401cc26061d75b (diff)
added ImageRenderer and tests for it.
Diffstat (limited to 'qt_tstfrm')
-rw-r--r--qt_tstfrm/macros.hpp3
-rw-r--r--qt_tstfrm/tstwidgets.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/qt_tstfrm/macros.hpp b/qt_tstfrm/macros.hpp
index ac85415562..fc249faf64 100644
--- a/qt_tstfrm/macros.hpp
+++ b/qt_tstfrm/macros.hpp
@@ -111,10 +111,7 @@ public:
virtual void DoDraw(shared_ptr<graphics::gl::Screen> p)
{
- p->beginFrame();
- p->clear(graphics::gl::Screen::s_bgColor);
test.DoDraw(p);
- p->endFrame();
}
virtual void DoResize(int, int)
{
diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp
index c7f69d3156..7d6ab3a293 100644
--- a/qt_tstfrm/tstwidgets.cpp
+++ b/qt_tstfrm/tstwidgets.cpp
@@ -96,7 +96,7 @@ void GLDrawWidget::initializeGL()
false);
rmp.m_primaryTexturesParams = graphics::ResourceManager::TexturePoolParams(512,
- 256,
+ 512,
10,
rmp.m_texFormat,
true,