From f8ea184a0f18b251aa05dad214de9128ba1b994b Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Tue, 22 Aug 2023 19:57:34 +0200 Subject: [PATCH 1/2] :beetle: Remove excessively large floating point constant --- resources/shaders/common.glsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/shaders/common.glsl b/resources/shaders/common.glsl index cacdf4c..fea8ede 100644 --- a/resources/shaders/common.glsl +++ b/resources/shaders/common.glsl @@ -69,7 +69,7 @@ void setOutputColor(vec4 outColor) { // false, but it will prevent the compiler from optimizing away the uniforms uForOpening // and uIsFullscreen. On KWin, we need to do this as we do not have a way to check if a // uniform is used in the shader. - if (outColor.a > 10e42 && uForOpening && uIsFullscreen) { + if (outColor.a > 1000.0 && uForOpening && uIsFullscreen) { outColor = vec4(0.0); } @@ -103,7 +103,7 @@ void setOutputColor(vec4 outColor) { // false, but it will prevent the compiler from optimizing away the uniforms uForOpening // and uIsFullscreen. On KWin, we need to do this as we do not have a way to check if a // uniform is used in the shader. - if (outColor.a > 10e42 && uForOpening && uIsFullscreen) { + if (outColor.a > 1000.0 && uForOpening && uIsFullscreen) { outColor = vec4(0.0); } From 3147ae5db682d408221b48943c68c9fdb9e0b4b2 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 26 Aug 2023 13:02:22 +0200 Subject: [PATCH 2/2] :memo: Add changelog entry --- docs/changelog.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 93ab31a..96a7678 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -5,6 +5,14 @@ SPDX-License-Identifier: CC-BY-4.0 # Changelog of the Burn-My-Windows Extension +## [Burn My Windows 37](https://github.com/schneegans/Burn-My-Windows/releases/tag/v37) + +**Release Date:** 2023-08-26 + +#### Bug Fixes + +- Fixed an issue which caused the effects to crash on KDE in some cases. + ## [Burn My Windows 36](https://github.com/schneegans/Burn-My-Windows/releases/tag/v36) **Release Date:** 2023-08-18