summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/TextureCache.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2016-12-14 23:58:23 +1000
committerStenzek <stenzek@gmail.com>2016-12-15 02:20:46 +1000
commitaccce4294aec05f59571c9983811624e2b4f5a70 (patch)
tree4da845bbabebfaa1ac4aeb427b638089dc1869dc /Source/Core/VideoBackends/OGL/TextureCache.cpp
parentd6cdf4976955fd7c03e28f2fa5035cb3b84c1b21 (diff)
TextureCache: Use same color coefficients for EFB2Tex as EFB2RAM
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/TextureCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp
index dc9d290f3e..50c729d45e 100644
--- a/Source/Core/VideoBackends/OGL/TextureCache.cpp
+++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp
@@ -333,7 +333,7 @@ bool TextureCache::CompileShaders()
"\n"
"void main(){\n"
" vec4 texcol = texture(samp9, f_uv0);\n"
- " texcol = round(texcol * colmat[5]) * colmat[6];\n"
+ " texcol = floor(texcol * colmat[5]) * colmat[6];\n"
" ocol0 = texcol * mat4(colmat[0], colmat[1], colmat[2], colmat[3]) + colmat[4];\n"
"}\n";