summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-05-20 21:01:41 -0300
committerGravatar ameerj2021-07-22 21:51:32 -0400
commit54decced922aaa73f4c30d696679f3602c930204 (patch)
tree831b08cfe045499c0b68a1d858238ea2312ccdb4 /src
parentgl_shader_manager: Remove unintentionally committed #pragma (diff)
downloadyuzu-54decced922aaa73f4c30d696679f3602c930204.tar.gz
yuzu-54decced922aaa73f4c30d696679f3602c930204.tar.xz
yuzu-54decced922aaa73f4c30d696679f3602c930204.zip
gl_shader_manager: Zero initialize current assembly programs
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_manager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h
index c922bcf82..5ec57d707 100644
--- a/src/video_core/renderer_opengl/gl_shader_manager.h
+++ b/src/video_core/renderer_opengl/gl_shader_manager.h
@@ -82,7 +82,7 @@ private:
82 GLuint current_source_program = 0; 82 GLuint current_source_program = 0;
83 83
84 u32 current_assembly_mask = 0; 84 u32 current_assembly_mask = 0;
85 std::array<GLuint, NUM_STAGES> current_assembly_programs; 85 std::array<GLuint, NUM_STAGES> current_assembly_programs{};
86 GLuint current_compute_assembly_program = 0; 86 GLuint current_compute_assembly_program = 0;
87}; 87};
88 88