From 73246c86586ffad03f72409655c9b50e4cca491a Mon Sep 17 00:00:00 2001 From: Dmitry Sapozhnikov <11535558+o-sdn-o@users.noreply.github.com> Date: Tue, 24 Oct 2023 23:02:18 +0500 Subject: [PATCH] #400 WIP: Shaders (multiuser) --- src/netxs/desktopio/canvas.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/netxs/desktopio/canvas.hpp b/src/netxs/desktopio/canvas.hpp index df1a69ce8d..fa530e37e5 100644 --- a/src/netxs/desktopio/canvas.hpp +++ b/src/netxs/desktopio/canvas.hpp @@ -1721,7 +1721,8 @@ namespace netxs template inline void operator () (D& dst, S& src) const { - dst.fuse(src); + auto i = factor; + while(i-- > 0) dst.fuse(src); operator()(dst); } };