summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-10-08 03:02:50 +0200
committerbunnei <bunneidev@gmail.com>2015-10-22 03:53:18 +0200
commitc2c4faef4c03d0c7b026672f2862b0022e5dc9cd (patch)
treef4342ef739919ec208c9184973b98cb9fd73bcf0
parentgl_shader_gen: Fix bug where TEV stage outputs should be clamped. (diff)
downloadyuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar.gz
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar.bz2
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar.lz
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar.xz
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.tar.zst
yuzu-c2c4faef4c03d0c7b026672f2862b0022e5dc9cd.zip
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.cpp b/src/video_core/renderer_opengl/gl_shader_gen.cpp
index 74f0d4805..b24c763f2 100644
--- a/src/video_core/renderer_opengl/gl_shader_gen.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_gen.cpp
@@ -163,7 +163,7 @@ static void AppendAlphaModifier(std::string& out, TevStageConfig::AlphaModifier
out += ".b";
break;
default:
- out += "vec3(0.0)";
+ out += "0.0";
LOG_CRITICAL(Render_OpenGL, "Unknown alpha modifier op %u", modifier);
break;
}