diff options
author | Liam <byteslice@airmail.cc> | 2024-01-04 04:46:59 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-31 17:27:20 +0100 |
commit | 80de01a5b4a7f57ec7850079fbd38fac76b9d08f (patch) | |
tree | 18086d7a71ffcd9f5bc6651aec20de37e3b1c33d /src/video_core/framebuffer_config.h | |
parent | Merge pull request #12760 from liamwhite/mp-am (diff) | |
download | yuzu-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 'src/video_core/framebuffer_config.h')
-rw-r--r-- | src/video_core/framebuffer_config.h | 3 |
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 |