diff options
author | bunnei <bunneidev@gmail.com> | 2019-07-21 06:59:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 06:59:52 +0200 |
commit | 27e10e0442dfd347387c6eaf148b27f5cc38bcaf (patch) | |
tree | c078fc3f0e62e55fc92a0c8b582666deece0a968 /src/video_core/renderer_opengl/gl_shader_cache.cpp | |
parent | Update README.md (diff) | |
parent | Maxwell3D: Reorganize and address feedback (diff) | |
download | yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar.gz yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar.bz2 yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar.lz yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar.xz yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.tar.zst yuzu-27e10e0442dfd347387c6eaf148b27f5cc38bcaf.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 32dd9eae7..456ba0403 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp @@ -572,7 +572,7 @@ std::unordered_map<u64, UnspecializedShader> ShaderCacheOpenGL::GenerateUnspecia } Shader ShaderCacheOpenGL::GetStageProgram(Maxwell::ShaderProgram program) { - if (!system.GPU().Maxwell3D().dirty_flags.shaders) { + if (!system.GPU().Maxwell3D().dirty.shaders) { return last_shaders[static_cast<std::size_t>(program)]; } |