summaryrefslogtreecommitdiffhomepage
path: root/main/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/draw.cpp')
-rw-r--r--main/draw.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/draw.cpp b/main/draw.cpp
index 2249d703..386ea960 100644
--- a/main/draw.cpp
+++ b/main/draw.cpp
@@ -159,8 +159,6 @@ void main_impl::do_update()
void main_impl::drawEvent()
{
- do_update();
-
_shader.set_tint({1, 1, 1, 1});
{
@@ -183,6 +181,7 @@ void main_impl::drawEvent()
}
app.draw();
+ do_update();
swapBuffers();
redraw();