summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/TextureCache.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@users.noreply.github.com>2016-12-19 22:11:38 +1000
committerGitHub <noreply@github.com>2016-12-19 22:11:38 +1000
commit01047319f82e6ee50e89ed8045cf713ee3ae0a56 (patch)
tree8d87b853e39e793f1763fc59b5030727653c49ae /Source/Core/VideoBackends/OGL/TextureCache.cpp
parentb15a40a825be9604977fcacb72d42806bbbf512d (diff)
parentaccce4294aec05f59571c9983811624e2b4f5a70 (diff)
Merge pull request #4517 from stenzek/mp3-blotches
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";