D3D12: Call VertexManagerBase initialize

This commit is contained in:
Stenzek 2019-12-09 19:16:04 +10:00
parent a21fb96638
commit 07c43b192f
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ VertexManager::~VertexManager() = default;
bool VertexManager::Initialize()
{
if (!VertexManagerBase::Initialize())
return false;
if (!m_vertex_stream_buffer.AllocateBuffer(VERTEX_STREAM_BUFFER_SIZE) ||
!m_index_stream_buffer.AllocateBuffer(INDEX_STREAM_BUFFER_SIZE) ||
!m_uniform_stream_buffer.AllocateBuffer(UNIFORM_STREAM_BUFFER_SIZE) ||