From 43a34ac38fd2122e923fb61994194db0823e55bb Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Fri, 12 Jul 2013 23:28:25 -0700 Subject: [PATCH] Fixed uninitialized member variables. --- src/bgfx_p.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bgfx_p.h b/src/bgfx_p.h index 58e496004..1cd737a80 100755 --- a/src/bgfx_p.h +++ b/src/bgfx_p.h @@ -1437,6 +1437,8 @@ namespace bgfx Context() : m_render(&m_frame[0]) , m_submit(&m_frame[1]) + , m_numFreeDynamicIndexBufferHandles(0) + , m_numFreeDynamicVertexBufferHandles(0) , m_dynamicIndexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_INDEX_BUFFERS) , m_dynamicVertexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_VERTEX_BUFFERS) , m_indexBufferHandle(BGFX_CONFIG_MAX_INDEX_BUFFERS)