From: Mikko Rasa Date: Sun, 9 Feb 2020 22:01:58 +0000 (+0200) Subject: Flush the shader data of View's Renderer after rendering X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5fde63369f02f6b154f5fd84affad8796f5977bd;p=libs%2Fgl.git 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. --- 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(); } }