summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2014-11-16 22:50:00 +0100
committerTony Wasserka <neobrainx@gmail.com>2014-11-16 22:50:00 +0100
commit8717c79fe4718285f3ae53bc4e93e6051c9f4c33 (patch)
tree1e85fb019b2253bc99f06532d9dda5d9cc1a2707 /src
parentMerge pull request #197 from archshift/osx (diff)
parentvertex_shader: Fix control reaches end of function warning (diff)
downloadyuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.gz
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.bz2
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.lz
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.xz
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.tar.zst
yuzu-8717c79fe4718285f3ae53bc4e93e6051c9f4c33.zip
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 607a8e803..bfb6fb6e3 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;
}