From 68e6ebe24cb476997b2ddfc21a5b13fb6f332fa7 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Fri, 16 Jul 2021 21:00:28 +0300 Subject: Render texture onto window on each iteration. Keep colormap in renderer so we don't pass the colormapped windows like animals. Pre-render empty window. Fixes #15. --- src/live.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live.hpp') diff --git a/src/live.hpp b/src/live.hpp index 5f6eb86..d7baa61 100644 --- a/src/live.hpp +++ b/src/live.hpp @@ -32,7 +32,7 @@ public: LiveOutput(const Configuration& conf, const ColorMap& cmap, const ValueMap& vmap); - void AddWindow(const std::vector& window, const RealWindow& win_values); + std::vector AddWindow(const RealWindow& win_values); bool HandleEvents(); void Render(); }; -- cgit v1.2.3