diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2021-08-21 06:16:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-21 06:16:18 +0200 |
commit | bde6b899a1ac4204f5c3f50695a467aa6ccca45b (patch) | |
tree | c885393dcd93d6c05c376a4a716d864cbeebe2c4 /src/video_core/textures/texture.h | |
parent | Merge pull request #6877 from MerryMage/dyn-ignore-asserts (diff) | |
parent | video_core: eliminate constant ternary (diff) | |
download | yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar.gz yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar.bz2 yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar.lz yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar.xz yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.tar.zst yuzu-bde6b899a1ac4204f5c3f50695a467aa6ccca45b.zip |
Diffstat (limited to 'src/video_core/textures/texture.h')
-rw-r--r-- | src/video_core/textures/texture.h | 2 |
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}; } } |