aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-07-17 21:26:35 -0700
committerGitHub <noreply@github.com>2018-07-17 21:26:35 -0700
commit7c3cc0895791fff03122386d25cce8d3cfdecd91 (patch)
tree2d0b4946f698b4e8b44a47d8168961e80c83f9dc /src/core/hle/service/nvflinger/nvflinger.cpp
parent8e28af6f89b4160db96be299675132a0ced7374d (diff)
parent03c2d049d43197a97b7899541e4b4763a2fb1eda (diff)
Merge pull request #677 from bunnei/crop-fb
Implement buffer cropping and default to handheld mode
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 826646b7d..d580f779e 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -149,7 +149,8 @@ void NVFlinger::Compose() {
ASSERT(nvdisp);
nvdisp->flip(igbp_buffer.gpu_buffer_id, igbp_buffer.offset, igbp_buffer.format,
- igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform);
+ igbp_buffer.width, igbp_buffer.height, igbp_buffer.stride, buffer->transform,
+ buffer->crop_rect);
buffer_queue->ReleaseBuffer(buffer->slot);
}