Browse Source
Merge pull request #6888 from v1993/patch-3
video_core: eliminate constant ternary
pull/15/merge
Ameer J
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/video_core/textures/texture.h
|
|
@ -159,7 +159,7 @@ static_assert(sizeof(TextureHandle) == 4, "TextureHandle has wrong size"); |
|
|
return {raw, raw}; |
|
|
return {raw, raw}; |
|
|
} else { |
|
|
} else { |
|
|
const Tegra::Texture::TextureHandle handle{raw}; |
|
|
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}; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|