diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-13 15:46:36 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-21 02:38:34 +0200 |
commit | 2d83553ea7ab2629e7e1a83cc3345c0115d69453 (patch) | |
tree | 95b51806a042ff95aa9bd857dd659d16a7fa02de /src/video_core/texture_cache/surface_base.h | |
parent | fermi2d: Correct Origin Mode (diff) | |
download | yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar.gz yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar.bz2 yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar.lz yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar.xz yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.tar.zst yuzu-2d83553ea7ab2629e7e1a83cc3345c0115d69453.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/texture_cache/surface_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index 9d19ecd5f..58265e9d3 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -132,6 +132,10 @@ public: return params.pixel_format == pixel_format; } + VideoCore::Surface::PixelFormat GetFormat() const { + return params.pixel_format; + } + bool MatchTarget(VideoCore::Surface::SurfaceTarget target) const { return params.target == target; } |