summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-30 08:20:09 +0100
committerGitHub <noreply@github.com>2020-12-30 08:20:09 +0100
commitd5fe722a30947c5c808717ad8940077e95a3a81c (patch)
treef6f5d6d6379b0404147969e7d1f548ed3d49ca01 /src/video_core/surface.cpp
parentMerge pull request #5247 from comex/xx-concepts (diff)
parentvideo_core: Rewrite the texture cache (diff)
downloadyuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar.gz
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar.bz2
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar.lz
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar.xz
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.tar.zst
yuzu-d5fe722a30947c5c808717ad8940077e95a3a81c.zip
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 937e29d1e..6308aef94 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -280,7 +280,7 @@ bool IsPixelFormatSRGB(PixelFormat format) {
}
std::pair<u32, u32> GetASTCBlockSize(PixelFormat format) {
- return {GetDefaultBlockWidth(format), GetDefaultBlockHeight(format)};
+ return {DefaultBlockWidth(format), DefaultBlockHeight(format)};
}
} // namespace VideoCore::Surface