aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl_widget.cc')
-rw-r--r--src/opengl_widget.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl_widget.cc b/src/opengl_widget.cc
index 6919086..29361c5 100644
--- a/src/opengl_widget.cc
+++ b/src/opengl_widget.cc
@@ -186,6 +186,7 @@ void OpenGLWidget::paintGL() {
main_program.bind();
main_program.setUniformValue("proj", proj);
main_program.setUniformValue("view", view);
+ main_program.setUniformValue("highlight", false);
glActiveTexture(GL_TEXTURE0);
ground->draw(this, QMatrix4x4());
if (painter) painter->draw(this);