summaryrefslogtreecommitdiff
path: root/src/video_core/framebuffer_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/framebuffer_config.h')
-rw-r--r--src/video_core/framebuffer_config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/framebuffer_config.h b/src/video_core/framebuffer_config.h
index 10ddc75a7..6a18b76fb 100644
--- a/src/video_core/framebuffer_config.h
+++ b/src/video_core/framebuffer_config.h
@@ -7,6 +7,7 @@
7#include "common/math_util.h" 7#include "common/math_util.h"
8#include "core/hle/service/nvnflinger/buffer_transform_flags.h" 8#include "core/hle/service/nvnflinger/buffer_transform_flags.h"
9#include "core/hle/service/nvnflinger/pixel_format.h" 9#include "core/hle/service/nvnflinger/pixel_format.h"
10#include "core/hle/service/nvnflinger/ui/fence.h"
10 11
11namespace Tegra { 12namespace Tegra {
12 13
@@ -21,7 +22,7 @@ struct FramebufferConfig {
21 u32 stride{}; 22 u32 stride{};
22 Service::android::PixelFormat pixel_format{}; 23 Service::android::PixelFormat pixel_format{};
23 Service::android::BufferTransformFlags transform_flags{}; 24 Service::android::BufferTransformFlags transform_flags{};
24 Common::Rectangle<int> crop_rect; 25 Common::Rectangle<int> crop_rect{};
25}; 26};
26 27
27Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width, 28Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width,