summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-05-20 21:01:41 -0300
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-22 21:51:32 -0400
commit54decced922aaa73f4c30d696679f3602c930204 (patch)
tree831b08cfe045499c0b68a1d858238ea2312ccdb4
parentc0e4074721825e2af7be4f1a70408f5edb06597d (diff)
gl_shader_manager: Zero initialize current assembly programs
-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:
GLuint current_source_program = 0;
u32 current_assembly_mask = 0;
- std::array<GLuint, NUM_STAGES> current_assembly_programs;
+ std::array<GLuint, NUM_STAGES> current_assembly_programs{};
GLuint current_compute_assembly_program = 0;
};