summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-02-15 23:11:43 -0500
committerLioncash <mathew1800@gmail.com>2016-02-15 23:40:34 -0500
commit69c82f32ff7f835a96eee67060f0d485438aa517 (patch)
tree27ac481fd3caff05d533c7acb0d00e5c910f5a8a /Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
parent2c5fcad5f5970404ec416fb30a50be4cdc654034 (diff)
NativeVertexFormat: Use in-class initialization
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
index fda4846367..d5a4cdd5a5 100644
--- a/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
+++ b/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
@@ -44,8 +44,7 @@ DXGI_FORMAT VarToD3D(VarType t, int size, bool integer)
return retval;
}
-D3DVertexFormat::D3DVertexFormat(const PortableVertexDeclaration &vtx_decl)
- : m_num_elems(0), m_layout12({}), m_elems()
+D3DVertexFormat::D3DVertexFormat(const PortableVertexDeclaration& vtx_decl)
{
this->vtx_decl = vtx_decl;