aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/buffer_queue.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-09 19:30:51 -0400
committerGitHub <noreply@github.com>2018-08-09 19:30:51 -0400
commit5191c20b71310fcaea70a32e20ccebdeb50e145f (patch)
treea7186115b592d23d9b255c9a384c6ef3e47adfec /src/core/hle/service/nvflinger/buffer_queue.h
parenta91bb7080dbc1395ee16b5c9d6316645b79272af (diff)
parentb46a5c42ff93cdbfe4fa00fdb44e97ed7313ac4e (diff)
Merge pull request #997 from lioncash/const-func
core: Make function reference parameters const where applicable
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue.h')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.h b/src/core/hle/service/nvflinger/buffer_queue.h
index 004170538..f86e1056c 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.h
+++ b/src/core/hle/service/nvflinger/buffer_queue.h
@@ -72,7 +72,7 @@ public:
MathUtil::Rectangle<int> crop_rect;
};
- void SetPreallocatedBuffer(u32 slot, IGBPBuffer& buffer);
+ void SetPreallocatedBuffer(u32 slot, const IGBPBuffer& igbp_buffer);
boost::optional<u32> DequeueBuffer(u32 width, u32 height);
const IGBPBuffer& RequestBuffer(u32 slot) const;
void QueueBuffer(u32 slot, BufferTransformFlags transform,