diff options
Diffstat (limited to 'Source/Core/VideoBackends/Null/VertexManager.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Null/VertexManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Null/VertexManager.cpp b/Source/Core/VideoBackends/Null/VertexManager.cpp index 17cab39b05..0e121ffa0d 100644 --- a/Source/Core/VideoBackends/Null/VertexManager.cpp +++ b/Source/Core/VideoBackends/Null/VertexManager.cpp @@ -13,13 +13,13 @@ namespace Null class NullNativeVertexFormat : public NativeVertexFormat { public: - NullNativeVertexFormat() {} + NullNativeVertexFormat(const PortableVertexDeclaration& vtx_decl_) { vtx_decl = vtx_decl_; } }; std::unique_ptr<NativeVertexFormat> VertexManager::CreateNativeVertexFormat(const PortableVertexDeclaration& vtx_decl) { - return std::make_unique<NullNativeVertexFormat>(); + return std::make_unique<NullNativeVertexFormat>(vtx_decl); } VertexManager::VertexManager() : m_local_v_buffer(MAXVBUFFERSIZE), m_local_i_buffer(MAXIBUFFERSIZE) |
