summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-09-11 05:09:37 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-11 05:09:37 +0200
commit6b997c8f7f904caa980ea364a3b1559e6122cdc4 (patch)
tree73b3918945e06587200cecd7216c72080b19efbf /src/video_core
parentgl_rasterizer: Correct sRGB Fix regression (diff)
downloadyuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar.gz
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar.bz2
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar.lz
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar.xz
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.tar.zst
yuzu-6b997c8f7f904caa980ea364a3b1559e6122cdc4.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index d6e1e5aba..1e6ef66ab 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -341,7 +341,7 @@ void RendererOpenGL::DrawScreenTriangles(const ScreenInfo& screen_info, float x,
ScreenRectVertex(x + w, y + h, texcoords.bottom * scale_u, right * scale_v),
}};
- state.textures[0].texture = screen_info.display_texture;
+ state.textures[0] = screen_info.display_texture;
state.framebuffer_srgb.enabled = screen_info.display_srgb;
state.AllDirty();
state.Apply();