From bd76783d9187eb0fac6128646ab6a1a25e4cb2d0 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 14 Nov 2014 19:32:43 -0500 Subject: vertex_shader: Fix control reaches end of function warning --- src/video_core/vertex_shader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/vertex_shader.h') 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; } -- cgit v1.2.3