mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-27 05:26:47 +00:00
Merge pull request #11281 from liamwhite/vi-scale-mode
nvnflinger: add missing scale mode
This commit is contained in:
commit
c1016b68ae
|
@ -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);
|
||||
|
|
|
@ -41,6 +41,7 @@ enum class NativeWindowScalingMode : s32 {
|
|||
ScaleToWindow = 1,
|
||||
ScaleCrop = 2,
|
||||
NoScaleCrop = 3,
|
||||
PreserveAspectRatio = 4,
|
||||
};
|
||||
|
||||
/// Transform parameter for QueueBuffer
|
||||
|
|
Loading…
Reference in a new issue