BugFix ImageFilters Repair filters

Use of secondary texture in image shader (renamed from mask texture) in image filters for ichannel_1 as texture of display loopback only if not needed otherwise (e.g. input image needed in Sharpen filter).
This commit is contained in:
Bruno Herbelin
2024-05-26 23:56:23 +02:00
parent 34297feed4
commit 81a0a724ab
6 changed files with 28 additions and 19 deletions

View File

@@ -1,8 +1,6 @@
#ifndef IMAGESHADER_H
#define IMAGESHADER_H
#include <string>
#include <map>
#include <sys/types.h>
#include "Shader.h"
@@ -18,7 +16,7 @@ public:
void accept(Visitor& v) override;
void copy(ImageShader const& S);
uint mask_texture;
uint secondary_texture;
// uniforms
float stipple;