Browse Source

vertex_shader: Fix control reaches end of function warning

Lioncash 11 năm trước cách đây
mục cha
commit
bd76783d91
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
                 else if (GetRegisterType() == Temporary)
                     return BitFieldType::Value() - 0x10;
-                else if (GetRegisterType() == FloatUniform)
+                else // if (GetRegisterType() == FloatUniform)
                     return BitFieldType::Value() - 0x20;
             }