mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
VertexLoaderBase: In-class initialize class members where applicable
Same thing, less code.
This commit is contained in:
parent
6a17d87b07
commit
da2e34f69b
2 changed files with 6 additions and 13 deletions
|
@ -72,13 +72,13 @@ public:
|
|||
virtual std::string GetName() const = 0;
|
||||
|
||||
// per loader public state
|
||||
int m_VertexSize; // number of bytes of a raw GC vertex
|
||||
PortableVertexDeclaration m_native_vtx_decl;
|
||||
u32 m_native_components;
|
||||
int m_VertexSize = 0; // number of bytes of a raw GC vertex
|
||||
PortableVertexDeclaration m_native_vtx_decl{};
|
||||
u32 m_native_components = 0;
|
||||
|
||||
// used by VertexLoaderManager
|
||||
NativeVertexFormat* m_native_vertex_format;
|
||||
int m_numLoadedVertices;
|
||||
NativeVertexFormat* m_native_vertex_format = nullptr;
|
||||
int m_numLoadedVertices = 0;
|
||||
|
||||
protected:
|
||||
VertexLoaderBase(const TVtxDesc& vtx_desc, const VAT& vtx_attr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue