Browse Source

Merge pull request #195 from lioncash/control

vertex_shader: Fix control reaches end of function warning
pull/15/merge
Tony Wasserka 11 years ago
parent
commit
8717c79fe4
  1. 2
      src/video_core/vertex_shader.h

2
src/video_core/vertex_shader.h

@ -141,7 +141,7 @@ union Instruction {
return BitFieldType::Value();
else if (GetRegisterType() == Temporary)
return BitFieldType::Value() - 0x10;
else if (GetRegisterType() == FloatUniform)
else // if (GetRegisterType() == FloatUniform)
return BitFieldType::Value() - 0x20;
}

Loading…
Cancel
Save