summaryrefslogtreecommitdiff
path: root/src/live.hpp
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-16 21:00:28 +0300
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-07-16 21:00:28 +0300
commit68e6ebe24cb476997b2ddfc21a5b13fb6f332fa7 (patch)
tree646db708a2db1b61904003c81a05b01358cdb4cc /src/live.hpp
parentb13609afcdf66d781db70fb75f6869a052a49079 (diff)
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.
Diffstat (limited to 'src/live.hpp')
-rw-r--r--src/live.hpp2
1 files changed, 1 insertions, 1 deletions
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<uint8_t>& window, const RealWindow& win_values);
+ std::vector<uint8_t> AddWindow(const RealWindow& win_values);
bool HandleEvents();
void Render();
};