diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-14 15:19:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 15:19:03 +0200 |
commit | c1016b68aed45a383ed5513983e84924d6175d9d (patch) | |
tree | 9212914121e093972cf3ee95094e68f18d770acd /src | |
parent | Merge pull request #11259 from german77/hid (diff) | |
parent | nvnflinger: add missing scale mode (diff) | |
download | yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar.gz yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar.bz2 yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar.lz yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar.xz yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.tar.zst yuzu-c1016b68aed45a383ed5513983e84924d6175d9d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvnflinger/buffer_queue_producer.cpp | 1 | ||||
-rw-r--r-- | src/core/hle/service/nvnflinger/window.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp index b16f9933f..dc6917d5d 100644 --- a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp +++ b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp @@ -449,6 +449,7 @@ Status BufferQueueProducer::QueueBuffer(s32 slot, const QueueBufferInput& input, case NativeWindowScalingMode::ScaleToWindow: case NativeWindowScalingMode::ScaleCrop: case NativeWindowScalingMode::NoScaleCrop: + case NativeWindowScalingMode::PreserveAspectRatio: break; default: LOG_ERROR(Service_Nvnflinger, "unknown scaling mode {}", scaling_mode); diff --git a/src/core/hle/service/nvnflinger/window.h b/src/core/hle/service/nvnflinger/window.h index 61cca5b01..36d6cde3d 100644 --- a/src/core/hle/service/nvnflinger/window.h +++ b/src/core/hle/service/nvnflinger/window.h @@ -41,6 +41,7 @@ enum class NativeWindowScalingMode : s32 { ScaleToWindow = 1, ScaleCrop = 2, NoScaleCrop = 3, + PreserveAspectRatio = 4, }; /// Transform parameter for QueueBuffer |