Explorar o código

Merge pull request #195 from lioncash/control

vertex_shader: Fix control reaches end of function warning
Tony Wasserka %!s(int64=11) %!d(string=hai) anos
pai
achega
8717c79fe4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/vertex_shader.h

+ 1 - 1
src/video_core/vertex_shader.h

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