Browse Source

vertex_loader: initialize_num_total_attributes.

Keeps the public API sane.
nce_cpp
Lioncash 10 years ago
parent
commit
9f536396ad
  1. 2
      src/video_core/vertex_loader.h

2
src/video_core/vertex_loader.h

@ -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
Loading…
Cancel
Save