summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-05-23 02:01:36 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-07 09:32:57 +0200
commit678f95e4f824740899c31a94c6aa6adaa634e699 (patch)
tree499e736b84382a8d014f0f7df31e6b80f67fb0ce /src/video_core/renderer_opengl
parentgl_shader_cache: Use generic shader cache (diff)
downloadyuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar.gz
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar.bz2
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar.lz
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar.xz
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.tar.zst
yuzu-678f95e4f824740899c31a94c6aa6adaa634e699.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 7c6797e02..c28486b1d 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -195,9 +195,9 @@ std::unordered_set<GLenum> GetSupportedFormats() {
} // Anonymous namespace
-Shader::Shader(std::shared_ptr<VideoCommon::Shader::Registry> registry, ShaderEntries entries,
- ProgramSharedPtr program)
- : registry{std::move(registry)}, entries{std::move(entries)}, program{std::move(program)} {
+Shader::Shader(std::shared_ptr<VideoCommon::Shader::Registry> registry_, ShaderEntries entries_,
+ ProgramSharedPtr program_)
+ : registry{std::move(registry_)}, entries{std::move(entries_)}, program{std::move(program_)} {
handle = program->assembly_program.handle;
if (handle == 0) {
handle = program->source_program.handle;