diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-22 23:01:14 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-22 23:04:44 +0200 |
commit | 12ba80a86cc2c0ffca0040ce3e17e4dd807ca944 (patch) | |
tree | 418788dcae84db7adf90fa0ccdb306e2599297c8 /src/video_core | |
parent | gl_shader_gen: Use a std::vector to represent program code instead of std::array (diff) | |
download | yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar.gz yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar.bz2 yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar.lz yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar.xz yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.tar.zst yuzu-12ba80a86cc2c0ffca0040ce3e17e4dd807ca944.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_gen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_gen.h b/src/video_core/renderer_opengl/gl_shader_gen.h index 6a1dab0e5..4663411ac 100644 --- a/src/video_core/renderer_opengl/gl_shader_gen.h +++ b/src/video_core/renderer_opengl/gl_shader_gen.h @@ -115,7 +115,7 @@ struct ShaderEntries { using ProgramResult = std::pair<std::string, ShaderEntries>; struct ShaderSetup { - ShaderSetup(ProgramCode program_code) { + explicit ShaderSetup(ProgramCode program_code) { program.code = std::move(program_code); } |