summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures
diff options
context:
space:
mode:
authorValeri <v19930312@gmail.com>2021-08-19 20:22:05 +0200
committerGitHub <noreply@github.com>2021-08-19 20:22:05 +0200
commit4fd655cb466614d10374c13764f08ab7fa6816b8 (patch)
treee43692d5435d2714417d6ce1ce2c6b4220f7baeb /src/video_core/textures
parentMerge pull request #6885 from v1993/patch-1 (diff)
downloadyuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar.gz
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar.bz2
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar.lz
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar.xz
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.tar.zst
yuzu-4fd655cb466614d10374c13764f08ab7fa6816b8.zip
Diffstat (limited to 'src/video_core/textures')
-rw-r--r--src/video_core/textures/texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.h
index 1a9399455..7994cb859 100644
--- a/src/video_core/textures/texture.h
+++ b/src/video_core/textures/texture.h
@@ -159,7 +159,7 @@ static_assert(sizeof(TextureHandle) == 4, "TextureHandle has wrong size");
return {raw, raw};
} else {
const Tegra::Texture::TextureHandle handle{raw};
- return {handle.tic_id, via_header_index ? handle.tic_id : handle.tsc_id};
+ return {handle.tic_id, handle.tsc_id};
}
}