vertex_loader: Provide an assertion for ensuring the loader has been setup
Also adds an assert to ensure that Setup is not called more than once during a VertexLoader's lifetime.
This commit is contained in:
parent
1357724cd9
commit
5587383eb7
2 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,7 @@ private:
|
|||
std::array<u32, 16> vertex_attribute_elements{};
|
||||
std::array<bool, 16> vertex_attribute_is_default;
|
||||
int num_total_attributes = 0;
|
||||
bool is_setup = false;
|
||||
};
|
||||
|
||||
} // namespace Pica
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue