summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-08-21 00:16:18 -0400
committerGitHub <noreply@github.com>2021-08-21 00:16:18 -0400
commitbde6b899a1ac4204f5c3f50695a467aa6ccca45b (patch)
treec885393dcd93d6c05c376a4a716d864cbeebe2c4 /src
parent455e28790a5e3d620fd45899fd1194a968c8da05 (diff)
parent4fd655cb466614d10374c13764f08ab7fa6816b8 (diff)
Merge pull request #6888 from v1993/patch-3
video_core: eliminate constant ternary
Diffstat (limited to 'src')
-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};
}
}