summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-22 23:01:14 +0200
committerLioncash <mathew1800@gmail.com>2018-08-22 23:04:44 +0200
commit12ba80a86cc2c0ffca0040ce3e17e4dd807ca944 (patch)
tree418788dcae84db7adf90fa0ccdb306e2599297c8
parentgl_shader_gen: Use a std::vector to represent program code instead of std::array (diff)
downloadyuzu-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
-rw-r--r--src/video_core/renderer_opengl/gl_shader_gen.h2
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);
}