diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 16:45:40 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 16:45:40 +0200 |
commit | 1a49991676fa3311cb2efdfd4f250a0f63063d5f (patch) | |
tree | fc4638c6128890246ab6dc65215c0df025a873ee /src/video_core/surface.cpp | |
parent | Merge pull request #9013 from liamwhite/spinning-a-yarn (diff) | |
download | yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.gz yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.bz2 yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.lz yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.xz yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.tar.zst yuzu-1a49991676fa3311cb2efdfd4f250a0f63063d5f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 079d5f028..a2bf08294 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -247,6 +247,8 @@ bool IsPixelFormatASTC(PixelFormat format) { case PixelFormat::ASTC_2D_6X6_UNORM: case PixelFormat::ASTC_2D_6X6_SRGB: case PixelFormat::ASTC_2D_10X6_UNORM: + case PixelFormat::ASTC_2D_10X5_UNORM: + case PixelFormat::ASTC_2D_10X5_SRGB: case PixelFormat::ASTC_2D_10X10_UNORM: case PixelFormat::ASTC_2D_10X10_SRGB: case PixelFormat::ASTC_2D_12X12_UNORM: @@ -276,6 +278,7 @@ bool IsPixelFormatSRGB(PixelFormat format) { case PixelFormat::ASTC_2D_5X5_SRGB: case PixelFormat::ASTC_2D_10X8_SRGB: case PixelFormat::ASTC_2D_6X6_SRGB: + case PixelFormat::ASTC_2D_10X5_SRGB: case PixelFormat::ASTC_2D_10X10_SRGB: case PixelFormat::ASTC_2D_12X12_SRGB: case PixelFormat::ASTC_2D_8X6_SRGB: |