mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-12 06:33:59 +00:00
[thanos] Fixed pending snapshot leak when compute is unavailable.
This commit is contained in:
@@ -285,6 +285,7 @@ void ThanosEffectRenderer::render(
|
||||
return;
|
||||
}
|
||||
if (!_initialized || !rhi->isFeatureSupported(QRhi::Compute)) {
|
||||
_pendingItems.clear();
|
||||
return;
|
||||
}
|
||||
_rhi = rhi;
|
||||
|
||||
Reference in New Issue
Block a user