summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/image_info.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2024-02-10 14:49:49 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2024-02-10 14:49:49 +0100
commit9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26 (patch)
tree67ca37660f4c1343e3921e6b71ff48817a15ff86 /src/video_core/texture_cache/image_info.cpp
parentFix multiplayer player count color in dark themes | Temp fix until #12744: Add green color for counts > 0 and < max_players - 1 (#12930) (diff)
downloadyuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar.gz
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar.bz2
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar.lz
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar.xz
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.tar.zst
yuzu-9ce43ee677bdc98eea3d6ea430b0d5867dbcfd26.zip
Diffstat (limited to 'src/video_core/texture_cache/image_info.cpp')
-rw-r--r--src/video_core/texture_cache/image_info.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/image_info.cpp b/src/video_core/texture_cache/image_info.cpp
index b72788c6d..9444becce 100644
--- a/src/video_core/texture_cache/image_info.cpp
+++ b/src/video_core/texture_cache/image_info.cpp
@@ -42,6 +42,7 @@ ImageInfo::ImageInfo(const TICEntry& config) noexcept {
};
}
rescaleable = false;
+ is_sparse = config.is_sparse != 0;
tile_width_spacing = config.tile_width_spacing;
if (config.texture_type != TextureType::Texture2D &&
config.texture_type != TextureType::Texture2DNoMipmap) {