summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar Liam2023-10-27 23:48:55 -0400
committerGravatar Liam2023-10-28 00:05:06 -0400
commit65d4a16afd7d84742751d3f9b3b0976738cac136 (patch)
tree91d7557fbfd0764cb3d7409d41f21c7a7b8cc920 /src/core
parentMerge pull request #11880 from abouvier/unbundle-stb (diff)
downloadyuzu-65d4a16afd7d84742751d3f9b3b0976738cac136.tar.gz
yuzu-65d4a16afd7d84742751d3f9b3b0976738cac136.tar.xz
yuzu-65d4a16afd7d84742751d3f9b3b0976738cac136.zip
renderer_vulkan: fix cropping for presentation
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/nvnflinger/buffer_transform_flags.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvnflinger/buffer_transform_flags.h b/src/core/hle/service/nvnflinger/buffer_transform_flags.h
index 67aa5dad6..ffe579718 100644
--- a/src/core/hle/service/nvnflinger/buffer_transform_flags.h
+++ b/src/core/hle/service/nvnflinger/buffer_transform_flags.h
@@ -3,6 +3,7 @@
3 3
4#pragma once 4#pragma once
5 5
6#include "common/common_funcs.h"
6#include "common/common_types.h" 7#include "common/common_types.h"
7 8
8namespace Service::android { 9namespace Service::android {
@@ -21,5 +22,6 @@ enum class BufferTransformFlags : u32 {
21 /// Rotate source image 270 degrees clockwise 22 /// Rotate source image 270 degrees clockwise
22 Rotate270 = 0x07, 23 Rotate270 = 0x07,
23}; 24};
25DECLARE_ENUM_FLAG_OPERATORS(BufferTransformFlags);
24 26
25} // namespace Service::android 27} // namespace Service::android