Browse Source

Merge pull request #1149 from lioncash/paren

shader_bytecode: Parenthesize conditional expression within GetTextureType()
nce_cpp
bunnei 7 years ago
committed by GitHub
parent
commit
e951dbde8f
  1. 2
      src/video_core/engines/shader_bytecode.h

2
src/video_core/engines/shader_bytecode.h

@ -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…
Cancel
Save