diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-05-13 02:33:52 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:36:12 +0200 |
commit | 7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29 (patch) | |
tree | 9769d59ddb0076234d26993ee8aca62e7da58554 /src/video_core/textures/convert.h | |
parent | surface_params: Ensure pitch is always written to avoid surface leaks (diff) | |
download | yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar.gz yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar.bz2 yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar.lz yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar.xz yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.tar.zst yuzu-7731a0e2d15da04eea746b4b8dd5c6c4b29f9f29.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/textures/convert.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/textures/convert.h b/src/video_core/textures/convert.h index 12542e71c..d5d6c77bb 100644 --- a/src/video_core/textures/convert.h +++ b/src/video_core/textures/convert.h @@ -12,10 +12,11 @@ enum class PixelFormat; namespace Tegra::Texture { -void ConvertFromGuestToHost(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width, - u32 height, u32 depth, bool convert_astc, bool convert_s8z24); +void ConvertFromGuestToHost(u8* in_data, u8* out_data, VideoCore::Surface::PixelFormat pixel_format, + u32 width, u32 height, u32 depth, bool convert_astc, + bool convert_s8z24); void ConvertFromHostToGuest(u8* data, VideoCore::Surface::PixelFormat pixel_format, u32 width, u32 height, u32 depth, bool convert_astc, bool convert_s8z24); -} // namespace Tegra::Texture
\ No newline at end of file +} // namespace Tegra::Texture |