summaryrefslogtreecommitdiffstats
path: root/src/video_core/framebuffer_config.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-04 04:46:59 +0100
committerLiam <byteslice@airmail.cc>2024-01-31 17:27:20 +0100
commit80de01a5b4a7f57ec7850079fbd38fac76b9d08f (patch)
tree18086d7a71ffcd9f5bc6651aec20de37e3b1c33d /src/video_core/framebuffer_config.h
parentMerge pull request #12760 from liamwhite/mp-am (diff)
downloadyuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.gz
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.bz2
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.lz
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.xz
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.tar.zst
yuzu-80de01a5b4a7f57ec7850079fbd38fac76b9d08f.zip
Diffstat (limited to '')
-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 {
Common::Rectangle<int> crop_rect;
};
+Common::Rectangle<f32> NormalizeCrop(const FramebufferConfig& framebuffer, u32 texture_width,
+ u32 texture_height);
+
} // namespace Tegra