vertex_loader: initialize_num_total_attributes.

Keeps the public API sane.
This commit is contained in:
Lioncash 2016-04-29 11:16:52 -04:00
parent 8ea5e7dfb5
commit 769f4a7018

View file

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