src/glrenderer.cpp

changeset 1438
988b6563d47d
parent 1437
1a77c6156db7
equal deleted inserted replaced
1437:1a77c6156db7 1438:988b6563d47d
75 * Destructs the GL renderer. 75 * Destructs the GL renderer.
76 */ 76 */
77 gl::Renderer::~Renderer() 77 gl::Renderer::~Renderer()
78 { 78 {
79 freeAxes(); 79 freeAxes();
80 delete m_compiler;
80 } 81 }
81 82
82 /* 83 /*
83 * Deletes the axes VBOs 84 * Deletes the axes VBOs
84 */ 85 */
920 void gl::Renderer::fullUpdate() 921 void gl::Renderer::fullUpdate()
921 { 922 {
922 this->m_compiler->fullUpdate(); 923 this->m_compiler->fullUpdate();
923 update(); 924 update();
924 } 925 }
926
927 void gl::Renderer::closeEvent(QCloseEvent* event)
928 {
929 emit closed();
930 return QGLWidget::closeEvent(event);
931 }

mercurial