mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-24 06:08:12 +00:00
Merge pull request #6888 from v1993/patch-3
video_core: eliminate constant ternary
This commit is contained in:
commit
bde6b899a1
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue