Fixed rare bug when initializing debug drawer

Former-commit-id: 287d10c05a481a139449068014780aa7119096bb
This commit is contained in:
Lynix 2014-08-18 15:41:42 +02:00
parent 34af3c9bc9
commit f154dbfb31
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ bool NzDebugDrawer::Initialize()
// s_vertexBuffer
try
{
NzErrorFlags flags(nzErrorFlag_ThrowException);
NzErrorFlags flags(nzErrorFlag_ThrowException, true);
s_vertexBuffer.Reset(NzVertexDeclaration::Get(nzVertexLayout_XYZ), 65365, nzBufferStorage_Hardware, nzBufferUsage_Dynamic);
}
catch (const std::exception& e)