aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/vertex_shader.h
diff options
context:
space:
mode:
authorGravatar Lioncash <mathew1800@gmail.com>2014-11-14 19:32:43 -0500
committerGravatar Lioncash <mathew1800@gmail.com>2014-11-16 16:44:14 -0500
commitbd76783d9187eb0fac6128646ab6a1a25e4cb2d0 (patch)
tree8f8ff895cbd9de9cf89a582993418022e80e591d /src/video_core/vertex_shader.h
parent3cfdabb2e3594f8b380b53db2af7de41958408c6 (diff)
vertex_shader: Fix control reaches end of function warning
Diffstat (limited to 'src/video_core/vertex_shader.h')
-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;
}