From 0c5a572f8df8689ab43f7c49b45a2a2294db8f8a Mon Sep 17 00:00:00 2001 From: Yuriy O'Donnell Date: Sat, 25 Oct 2014 19:14:28 +0200 Subject: [PATCH] D3D: Use two buffers for VertexManager --- Source/Core/VideoBackends/D3D/VertexManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/D3D/VertexManager.h b/Source/Core/VideoBackends/D3D/VertexManager.h index a03051ad76..bd84128ff1 100644 --- a/Source/Core/VideoBackends/D3D/VertexManager.h +++ b/Source/Core/VideoBackends/D3D/VertexManager.h @@ -37,7 +37,7 @@ private: u32 m_currentBuffer; u32 m_bufferCursor; - enum { MAX_BUFFER_COUNT = 1 }; + enum { MAX_BUFFER_COUNT = 2 }; ID3D11Buffer* m_buffers[MAX_BUFFER_COUNT]; LineGeometryShader m_lineShader;