summaryrefslogtreecommitdiff
path: root/src/video_core/framebuffer_config.h
diff options
context:
space:
mode:
authorGravatar Liam2024-01-03 22:46:59 -0500
committerGravatar Liam2024-01-31 11:27:20 -0500
commit80de01a5b4a7f57ec7850079fbd38fac76b9d08f (patch)
tree18086d7a71ffcd9f5bc6651aec20de37e3b1c33d /src/video_core/framebuffer_config.h
parentMerge pull request #12760 from liamwhite/mp-am (diff)
downloadyuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.gz
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.xz
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.zip
video_core: simplify accelerated surface fetch and crop handling between APIs
Diffstat (limited to 'src/video_core/framebuffer_config.h')
-rw-r--r--src/video_core/framebuffer_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/framebuffer_config.h b/src/video_core/framebuffer_config.h
index 856f4bd52..10ddc75a7 100644
--- a/src/video_core/framebuffer_config.h
+++ b/src/video_core/framebuffer_config.h
@@ -24,4 +24,7 @@ struct FramebufferConfig {
24 Common::Rectangle<int> crop_rect; 24 Common::Rectangle<int> crop_rect;
25}; 25};
26 26
27Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width,
28 u32 texture_height);
29
27} // namespace Tegra 30} // namespace Tegra