types: Upgrade buffer ref from WP to SP (#9677)

This commit is contained in:
Lee Bousfield
2025-03-20 06:08:47 -05:00
committed by GitHub
parent f6ca4bac51
commit 7ea4fbf0ba
4 changed files with 6 additions and 6 deletions

View File

@@ -1531,7 +1531,7 @@ bool CHyprRenderer::commitPendingAndDoExplicitSync(PHLMONITOR pMonitor) {
Debug::log(TRACE, "Explicit: can't add sync, monitor has no EGLSync");
else {
for (auto const& e : explicitPresented) {
if (!e->current.buffer || !e->current.buffer->buffer || !e->current.buffer->buffer->syncReleaser)
if (!e->current.buffer || !e->current.buffer->buffer->syncReleaser)
continue;
e->current.buffer->buffer->syncReleaser->addReleaseSync(pMonitor->eglSync);