We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b36c6 commit 1380ca0Copy full SHA for 1380ca0
src/renderer/widgets/Background.cpp
@@ -7,6 +7,7 @@
7
#include "../../helpers/MiscFunctions.hpp"
8
#include "../../core/AnimationManager.hpp"
9
#include "../../config/ConfigManager.hpp"
10
+#include "src/renderer/AsyncResourceGatherer.hpp"
11
#include <chrono>
12
#include <hyprlang.hpp>
13
#include <filesystem>
@@ -89,6 +90,9 @@ void CBackground::reset() {
89
90
reloadTimer.reset();
91
}
92
93
+ if (g_pAsyncResourceGatherer && scAsset)
94
+ g_pAsyncResourceGatherer->unloadAsset(scAsset);
95
+
96
blurredFB->destroyBuffer();
97
pendingBlurredFB->destroyBuffer();
98
0 commit comments