diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-05-23 02:01:36 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-07 09:32:57 +0200 |
commit | 678f95e4f824740899c31a94c6aa6adaa634e699 (patch) | |
tree | 499e736b84382a8d014f0f7df31e6b80f67fb0ce /src/video_core/renderer_opengl/gl_shader_cache.cpp | |
parent | gl_shader_cache: Use generic shader cache (diff) | |
download | yuzu-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/gl_shader_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 6 |
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; |