From 5fde63369f02f6b154f5fd84affad8796f5977bd Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 10 Feb 2020 00:01:58 +0200 Subject: [PATCH] Flush the shader data of View's Renderer after rendering In a very simple application with only a single renderable omitting the flush would prevent shader data from being updated. --- source/view.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/view.cpp b/source/view.cpp index 005904f2..d0d35428 100644 --- a/source/view.cpp +++ b/source/view.cpp @@ -49,6 +49,7 @@ void View::render(Renderer &renderer) content->setup_frame(renderer); content->render(renderer); content->finish_frame(); + renderer.flush_shader_data(); } } -- 2.45.2