delete GLView crash fix

fixed fog/background color, now not x2 amplified
fixed bug when no shadows enabled on start (sum with fog on geometry)
This commit is contained in:
2023-04-23 23:15:31 +03:00
parent c179bc95cf
commit 0151e34477
4 changed files with 10 additions and 7 deletions

View File

@@ -103,7 +103,6 @@ QGLView::QGLView(): OpenGLWindow(), renderer_(this), mouse(this) {
QGLView::~QGLView() {
stop();
scene_->clear();
delete scene_;
delete default_camera;
}