diff options
Diffstat (limited to 'qt_tstfrm')
-rw-r--r-- | qt_tstfrm/macros.hpp | 2 | ||||
-rw-r--r-- | qt_tstfrm/qt_tstfrm.pro | 2 | ||||
-rw-r--r-- | qt_tstfrm/tstwidgets.cpp | 8 |
3 files changed, 7 insertions, 5 deletions
diff --git a/qt_tstfrm/macros.hpp b/qt_tstfrm/macros.hpp index 7cede26627..8046cf7e7d 100644 --- a/qt_tstfrm/macros.hpp +++ b/qt_tstfrm/macros.hpp @@ -110,7 +110,7 @@ public: virtual void DoDraw(shared_ptr<yg::gl::Screen> p) { p->beginFrame(); - p->clear(); + p->clear(yg::gl::Screen::s_bgColor); test.DoDraw(p); p->endFrame(); } diff --git a/qt_tstfrm/qt_tstfrm.pro b/qt_tstfrm/qt_tstfrm.pro index de6c164d09..172b935503 100644 --- a/qt_tstfrm/qt_tstfrm.pro +++ b/qt_tstfrm/qt_tstfrm.pro @@ -21,3 +21,5 @@ SOURCES += \ main_tester.cpp \ tstwidgets.cpp \ screen_qt.cpp \ + + diff --git a/qt_tstfrm/tstwidgets.cpp b/qt_tstfrm/tstwidgets.cpp index 3f7205c9d4..4512a8f9bd 100644 --- a/qt_tstfrm/tstwidgets.cpp +++ b/qt_tstfrm/tstwidgets.cpp @@ -62,8 +62,8 @@ void GLDrawWidget::initializeGL() 1, "smallStorage"); - rmp.m_blitStoragesParams = yg::ResourceManager::StoragePoolParams(10 * sizeof(yg::gl::AuxVertex), - sizeof(yg::gl::AuxVertex), + rmp.m_blitStoragesParams = yg::ResourceManager::StoragePoolParams(10 * sizeof(yg::gl::Vertex), + sizeof(yg::gl::Vertex), 10 * sizeof(unsigned short), sizeof(unsigned short), 30, @@ -72,8 +72,8 @@ void GLDrawWidget::initializeGL() 1, "blitStorage"); - rmp.m_multiBlitStoragesParams = yg::ResourceManager::StoragePoolParams(500 * sizeof(yg::gl::AuxVertex), - sizeof(yg::gl::AuxVertex), + rmp.m_multiBlitStoragesParams = yg::ResourceManager::StoragePoolParams(500 * sizeof(yg::gl::Vertex), + sizeof(yg::gl::Vertex), 500 * sizeof(unsigned short), sizeof(unsigned short), 10, |