summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-02-16 21:47:38 -0500
committerMathew Maidment <mathew1800@gmail.com>2016-02-16 21:47:38 -0500
commit2e35e7930226b1d5a6bfe8421126883e0390e4a3 (patch)
treea4249370546b9b693c5067d84d5f7570d467e724 /Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp
parentd4b67be2885fa8496cc275454599ec1a1651a3f5 (diff)
parent932dd14418fec0661e7ecc3850c46e3e9caee082 (diff)
Merge pull request #3643 from lioncash/inclass
NativeVertexFormat: Minor changes
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;