aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-11-29 08:26:25 -0500
committerGitHub <noreply@github.com>2022-11-29 08:26:25 -0500
commita7f1fa7bfcf1a2e6ca087a14ea4d524f63e711db (patch)
treecbad20d396d0786fd2f7abcb6aac9a378be7955b /src/core/hle/service/nvflinger/nvflinger.cpp
parentb6373c5ea501b53d96af7937766a3cec47182960 (diff)
parentae74f46e787e426610b9d9523db9e9981fede18c (diff)
Merge pull request #9345 from lioncash/fence
consumer_base: Pass std::shared_ptr by const reference
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index c3af12c90..d1cbadde4 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -307,8 +307,7 @@ void NVFlinger::Compose() {
swap_interval = buffer.swap_interval;
- auto fence = android::Fence::NoFence();
- layer.GetConsumer().ReleaseBuffer(buffer, fence);
+ layer.GetConsumer().ReleaseBuffer(buffer, android::Fence::NoFence());
}
}