diff options
author | ccolin | 2021-01-04 13:34:34 +0100 |
---|---|---|
committer | ccolin | 2021-01-04 13:34:34 +0100 |
commit | 0f06601bc69d08baaa6c5b11c03e59ac818c426e (patch) | |
tree | b9225f8b6529b74f289591bdea63992393315f9c /src/opengl_widget.cc | |
parent | 7fe6bf15180110ba0df803472444cd7fd6a4e414 (diff) |
fix misc rendering issue
Diffstat (limited to 'src/opengl_widget.cc')
-rw-r--r-- | src/opengl_widget.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl_widget.cc b/src/opengl_widget.cc index a4d9c8c..582bf3e 100644 --- a/src/opengl_widget.cc +++ b/src/opengl_widget.cc @@ -211,8 +211,8 @@ void OpenGLWidget::paintGL() { glPolygonOffset(1, 1); ground->draw(this, QMatrix4x4()); glDisable(GL_POLYGON_OFFSET_FILL); - if (painter) painter->draw(this); main_program.release(); + if (painter) painter->draw(this); } |