aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/consumer_base.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-19 22:08:50 -0700
committerbunnei <bunneidev@gmail.com>2022-03-24 18:13:33 -0700
commit0ce308047e08c9671631f9898be01360e77fcaad (patch)
treedce400451e10015917df188b845002869b8306fa /src/core/hle/service/nvflinger/consumer_base.cpp
parent480c79edba7162d29c82e3752653626d37aacd5f (diff)
hle: nvflinger: consumer_base: StillTracking: Should be const.
Diffstat (limited to 'src/core/hle/service/nvflinger/consumer_base.cpp')
-rw-r--r--src/core/hle/service/nvflinger/consumer_base.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/consumer_base.cpp b/src/core/hle/service/nvflinger/consumer_base.cpp
index 0524463bd..3ccbb7fb8 100644
--- a/src/core/hle/service/nvflinger/consumer_base.cpp
+++ b/src/core/hle/service/nvflinger/consumer_base.cpp
@@ -117,7 +117,8 @@ Status ConsumerBase::ReleaseBufferLocked(s32 slot,
return err;
}
-bool ConsumerBase::StillTracking(s32 slot, const std::shared_ptr<GraphicBuffer> graphic_buffer) {
+bool ConsumerBase::StillTracking(s32 slot,
+ const std::shared_ptr<GraphicBuffer> graphic_buffer) const {
if (slot < 0 || slot >= BufferQueueDefs::NUM_BUFFER_SLOTS) {
return false;
}