diff options
| author | 2014-11-16 22:50:00 +0100 | |
|---|---|---|
| committer | 2014-11-16 22:50:00 +0100 | |
| commit | 8717c79fe4718285f3ae53bc4e93e6051c9f4c33 (patch) | |
| tree | 1e85fb019b2253bc99f06532d9dda5d9cc1a2707 | |
| parent | Merge pull request #197 from archshift/osx (diff) | |
| parent | vertex_shader: Fix control reaches end of function warning (diff) | |
| download | yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.gz yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.xz yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.zip | |
Merge pull request #195 from lioncash/control
vertex_shader: Fix control reaches end of function warning
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/vertex_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h index 607a8e803..bfb6fb6e3 100644 --- a/src/video_core/vertex_shader.h +++ b/src/video_core/vertex_shader.h | |||
| @@ -141,7 +141,7 @@ union Instruction { | |||
| 141 | return BitFieldType::Value(); | 141 | return BitFieldType::Value(); |
| 142 | else if (GetRegisterType() == Temporary) | 142 | else if (GetRegisterType() == Temporary) |
| 143 | return BitFieldType::Value() - 0x10; | 143 | return BitFieldType::Value() - 0x10; |
| 144 | else if (GetRegisterType() == FloatUniform) | 144 | else // if (GetRegisterType() == FloatUniform) |
| 145 | return BitFieldType::Value() - 0x20; | 145 | return BitFieldType::Value() - 0x20; |
| 146 | } | 146 | } |
| 147 | 147 | ||