diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-06 07:58:43 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 20:13:12 +0100 |
commit | 0ab17ab4062278ceed3a3dc28796493280e6d0a1 (patch) | |
tree | 26c4be1650fd1f554047f6179f31d3f2f8ddf528 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | Merge pull request #1988 from lioncash/res (diff) | |
download | yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.gz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.bz2 yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.lz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.xz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.zst yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 089daf96f..37f01d4f7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -293,7 +293,7 @@ DrawParameters RasterizerOpenGL::SetupDraw() { void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) { MICROPROFILE_SCOPE(OpenGL_Shader); - const auto& gpu = Core::System::GetInstance().GPU().Maxwell3D(); + auto& gpu = Core::System::GetInstance().GPU().Maxwell3D(); // Next available bindpoints to use when uploading the const buffers and textures to the GLSL // shaders. The constbuffer bindpoint starts after the shader stage configuration bind points. @@ -376,6 +376,8 @@ void RasterizerOpenGL::SetupShaders(GLenum primitive_mode) { } SyncClipEnabled(clip_distances); + + gpu.dirty_flags.shaders = false; } void RasterizerOpenGL::SetupCachedFramebuffer(const FramebufferCacheKey& fbkey, |