summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-04-29 11:16:52 -0400
committerLioncash <mathew1800@gmail.com>2016-05-08 23:03:32 -0400
commit769f4a7018e170448f7f1c307f2bcfa26f59ecba (patch)
tree2cad100535e7d7619e3011e6185e7ba940d449e9 /src
parent8ea5e7dfb57ebda2ad2229e4e94dfd5e2c24c091 (diff)
vertex_loader: initialize_num_total_attributes.
Keeps the public API sane.
Diffstat (limited to 'src')
-rw-r--r--src/video_core/vertex_loader.h2
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:
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