aboutsummaryrefslogtreecommitdiff
path: root/src/opengl_widget.cc
diff options
context:
space:
mode:
authorccolin2021-01-03 17:10:26 +0100
committerccolin2021-01-03 17:10:26 +0100
commitec4017bb0ff221c5c3e192a165c8d60a54f3bedc (patch)
treef2aff28ed1d244fd53ef73543f6d1408653ca5fa /src/opengl_widget.cc
parent14b5993f0f4bb4fc2d33394780e6d8911c8783d7 (diff)
highlight colliding drones
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);