diff options
| author | 2016-04-29 11:16:52 -0400 | |
|---|---|---|
| committer | 2016-05-08 23:03:32 -0400 | |
| commit | 769f4a7018e170448f7f1c307f2bcfa26f59ecba (patch) | |
| tree | 2cad100535e7d7619e3011e6185e7ba940d449e9 | |
| parent | vertex_loader: Use std::array instead of raw C arrays (diff) | |
| download | yuzu-769f4a7018e170448f7f1c307f2bcfa26f59ecba.tar.gz yuzu-769f4a7018e170448f7f1c307f2bcfa26f59ecba.tar.xz yuzu-769f4a7018e170448f7f1c307f2bcfa26f59ecba.zip | |
vertex_loader: initialize_num_total_attributes.
Keeps the public API sane.
| -rw-r--r-- | src/video_core/vertex_loader.h | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 28 | std::array<Regs::VertexAttributeFormat, 16> vertex_attribute_formats; | 28 | std::array<Regs::VertexAttributeFormat, 16> vertex_attribute_formats; |
| 29 | std::array<u32, 16> vertex_attribute_elements{}; | 29 | std::array<u32, 16> vertex_attribute_elements{}; |
| 30 | std::array<bool, 16> vertex_attribute_is_default; | 30 | std::array<bool, 16> vertex_attribute_is_default; |
| 31 | int num_total_attributes; | 31 | int num_total_attributes = 0; |
| 32 | }; | 32 | }; |
| 33 | 33 | ||
| 34 | } // namespace Pica | 34 | } // namespace Pica |