mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 10:55:45 +00:00
shader_bytecode: Parenthesize conditional expression within GetTextureType()
Resolves a -Wlogical-op-parentheses warning.
This commit is contained in:
parent
b809f96a90
commit
309df18cdb
1 changed files with 1 additions and 1 deletions
|
@ -518,7 +518,7 @@ union Instruction {
|
|||
return TextureType::Texture1D;
|
||||
}
|
||||
if (texture_info == 2 || texture_info == 8 || texture_info == 12 ||
|
||||
texture_info >= 4 && texture_info <= 6) {
|
||||
(texture_info >= 4 && texture_info <= 6)) {
|
||||
return TextureType::Texture2D;
|
||||
}
|
||||
if (texture_info == 7) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue