Don't blur behind opaque pixels

This commit is contained in:
vaxerski
2022-04-17 13:15:56 +02:00
parent 74dbf196c1
commit 748a787ba2
4 changed files with 40 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ private:
GLuint compileShader(const GLuint&, std::string);
void createBGTextureForMonitor(SMonitor*);
void renderTextureInternal(const CTexture&, wlr_box* pBox, float a, int round = 0);
void renderTextureInternal(const CTexture&, wlr_box* pBox, float a, int round = 0, bool discardOpaque = false);
void renderTextureWithBlurInternal(const CTexture&, wlr_box*, float a, int round = 0);
};