aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Tony Wasserka <neobrainx@gmail.com>2014-11-16 22:50:00 +0100
committerGravatar Tony Wasserka <neobrainx@gmail.com>2014-11-16 22:50:00 +0100
commit8717c79fe4718285f3ae53bc4e93e6051c9f4c33 (patch)
tree1e85fb019b2253bc99f06532d9dda5d9cc1a2707 /src
parent4409fa87985f4445f1c44810ef27fac2a78a09db (diff)
parentbd76783d9187eb0fac6128646ab6a1a25e4cb2d0 (diff)
Merge pull request #195 from lioncash/control
vertex_shader: Fix control reaches end of function warning
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vertex_shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/vertex_shader.h b/src/video_core/vertex_shader.h
index 607a8e80..bfb6fb6e 100644
--- a/src/video_core/vertex_shader.h
+++ b/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;
}