mirror of
https://github.com/hyprwm/hyprlock.git
synced 2025-12-20 08:50:03 +01:00
Revert "background: unload screenshots when monitor is removed"
Pushed to the wrong remote :(
This reverts commit 1380ca04ae.
This commit is contained in:
parent
1380ca04ae
commit
7f769fa993
1 changed files with 0 additions and 4 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
#include "../../helpers/MiscFunctions.hpp"
|
#include "../../helpers/MiscFunctions.hpp"
|
||||||
#include "../../core/AnimationManager.hpp"
|
#include "../../core/AnimationManager.hpp"
|
||||||
#include "../../config/ConfigManager.hpp"
|
#include "../../config/ConfigManager.hpp"
|
||||||
#include "src/renderer/AsyncResourceGatherer.hpp"
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <hyprlang.hpp>
|
#include <hyprlang.hpp>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
@ -90,9 +89,6 @@ void CBackground::reset() {
|
||||||
reloadTimer.reset();
|
reloadTimer.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_pAsyncResourceGatherer && scAsset)
|
|
||||||
g_pAsyncResourceGatherer->unloadAsset(scAsset);
|
|
||||||
|
|
||||||
blurredFB->destroyBuffer();
|
blurredFB->destroyBuffer();
|
||||||
pendingBlurredFB->destroyBuffer();
|
pendingBlurredFB->destroyBuffer();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue