Просмотр исходного кода

vertex_loader: initialize_num_total_attributes.

Keeps the public API sane.
Lioncash 10 лет назад
Родитель
Сommit
769f4a7018
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/video_core/vertex_loader.h

+ 1 - 1
src/video_core/vertex_loader.h

@@ -28,7 +28,7 @@ private:
     std::array<Regs::VertexAttributeFormat, 16> vertex_attribute_formats;
     std::array<Regs::VertexAttributeFormat, 16> vertex_attribute_formats;
     std::array<u32, 16> vertex_attribute_elements{};
     std::array<u32, 16> vertex_attribute_elements{};
     std::array<bool, 16> vertex_attribute_is_default;
     std::array<bool, 16> vertex_attribute_is_default;
-    int num_total_attributes;
+    int num_total_attributes = 0;
 };
 };
 
 
 }  // namespace Pica
 }  // namespace Pica