summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-04-30 21:20:23 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-04-30 21:20:23 +0200
commitaab41604f7406c27946a7ea20c30a6d3dd709ea0 (patch)
treed4a91e136e5050f5a83156b871968283d9427367
parentMerge pull request #1735 from JayFoxRox/remove-tga (diff)
downloadyuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar.gz
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar.bz2
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar.lz
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar.xz
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.tar.zst
yuzu-aab41604f7406c27946a7ea20c30a6d3dd709ea0.zip
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index a8c775c80..7672cd6eb 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -812,6 +812,7 @@ void RasterizerOpenGL::SamplerInfo::SyncWithConfig(const Pica::Regs::TextureConf
if (wrap_s == TextureConfig::ClampToBorder || wrap_t == TextureConfig::ClampToBorder) {
if (border_color != config.border_color.raw) {
+ border_color = config.border_color.raw;
auto gl_color = PicaToGL::ColorRGBA8(border_color);
glSamplerParameterfv(s, GL_TEXTURE_BORDER_COLOR, gl_color.data());
}