From 769f4a7018e170448f7f1c307f2bcfa26f59ecba Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 29 Apr 2016 11:16:52 -0400 Subject: [PATCH] vertex_loader: initialize_num_total_attributes. Keeps the public API sane. --- src/video_core/vertex_loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/vertex_loader.h b/src/video_core/vertex_loader.h index 3b511945a..4ed8cd3fd 100644 --- a/src/video_core/vertex_loader.h +++ b/src/video_core/vertex_loader.h @@ -28,7 +28,7 @@ private: std::array vertex_attribute_formats; std::array vertex_attribute_elements{}; std::array vertex_attribute_is_default; - int num_total_attributes; + int num_total_attributes = 0; }; } // namespace Pica