summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2015-01-03 13:49:53 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2015-02-18 14:50:28 +0100
commite11fb96408b27e2aa76e29a380fe3a2d15d37d32 (patch)
tree2c72c58a0a147d4e52fda485aca82eeabe93e060 /src/video_core/rasterizer.cpp
parentPica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic. (diff)
downloadyuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar.gz
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar.bz2
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar.lz
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar.xz
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.tar.zst
yuzu-e11fb96408b27e2aa76e29a380fe3a2d15d37d32.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/rasterizer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index eacca82e5..4bf7593ce 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -303,7 +303,9 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
auto GetSource = [&](Source source) -> Math::Vec4<u8> {
switch (source) {
+ // TODO: What's the difference between these two?
case Source::PrimaryColor:
+ case Source::PrimaryFragmentColor:
return primary_color;
case Source::Texture0: