diff options
Diffstat (limited to 'qt_tstfrm')
-rw-r--r-- | qt_tstfrm/macros.hpp | 3 | ||||
-rw-r--r-- | qt_tstfrm/tstwidgets.cpp | 2 |
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, |