diff options
author | Vaxry <[email protected]> | 2024-08-06 14:35:05 +0200 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-08-06 14:35:05 +0200 |
commit | 683a0e158405b229e29578775661109f24d67331 (patch) | |
tree | 718267f38b414e53aff2d83aff58d84cefee517b | |
parent | cfe3c2c38e69cb315eee1dbe8d5555063fcef6bf (diff) | |
download | Hyprland-683a0e158405b229e29578775661109f24d67331.tar.gz Hyprland-683a0e158405b229e29578775661109f24d67331.zip |
fix2
-rw-r--r-- | src/protocols/core/Compositor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/core/Compositor.cpp b/src/protocols/core/Compositor.cpp index 2dd9a4a9..58839929 100644 --- a/src/protocols/core/Compositor.cpp +++ b/src/protocols/core/Compositor.cpp @@ -429,6 +429,8 @@ void CWLSurfaceResource::commitPendingState() { current = pending; pending.damage.clear(); pending.bufferDamage.clear(); + pending.texture.reset(); + pending.buffer.reset(); if (syncobj && syncobj->current.releaseTimeline && syncobj->current.releaseTimeline->timeline && current.buffer && current.buffer->buffer) current.buffer->releaser = makeShared<CSyncReleaser>(syncobj->current.releaseTimeline->timeline, syncobj->current.releasePoint); |