Explorar o código

gl_shader_manager: Zero initialize current assembly programs

ReinUsesLisp %!s(int64=5) %!d(string=hai) anos
pai
achega
54decced92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/video_core/renderer_opengl/gl_shader_manager.h

+ 1 - 1
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;
 };