Skip to content

Commit 9e327ef

Browse files
committed
fix direct scanout
1 parent 1a0d6b9 commit 9e327ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/Monitor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@ bool CMonitor::attemptDirectScanout() {
14051405
bool DOEXPLICIT = PSURFACE->syncobj && PSURFACE->current.buffer && PSURFACE->current.acquire && explicitOptions.explicitKMSEnabled;
14061406
if (DOEXPLICIT) {
14071407
// wait for surface's explicit fence if present
1408-
inFence = PSURFACE->current.acquire.exportAsFD();
1408+
inFence = PSURFACE->current.acquire.exportSyncFD();
14091409
if (inFence.isValid()) {
14101410
Debug::log(TRACE, "attemptDirectScanout: setting IN_FENCE for aq to {}", inFence.get());
14111411
output->state->setExplicitInFence(inFence.get());

0 commit comments

Comments
 (0)