mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed uninitialized member variables.
This commit is contained in:
parent
f59ba947cb
commit
43a34ac38f
1 changed files with 2 additions and 0 deletions
|
@ -1437,6 +1437,8 @@ namespace bgfx
|
||||||
Context()
|
Context()
|
||||||
: m_render(&m_frame[0])
|
: m_render(&m_frame[0])
|
||||||
, m_submit(&m_frame[1])
|
, m_submit(&m_frame[1])
|
||||||
|
, m_numFreeDynamicIndexBufferHandles(0)
|
||||||
|
, m_numFreeDynamicVertexBufferHandles(0)
|
||||||
, m_dynamicIndexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_INDEX_BUFFERS)
|
, m_dynamicIndexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_INDEX_BUFFERS)
|
||||||
, m_dynamicVertexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_VERTEX_BUFFERS)
|
, m_dynamicVertexBufferHandle(BGFX_CONFIG_MAX_DYNAMIC_VERTEX_BUFFERS)
|
||||||
, m_indexBufferHandle(BGFX_CONFIG_MAX_INDEX_BUFFERS)
|
, m_indexBufferHandle(BGFX_CONFIG_MAX_INDEX_BUFFERS)
|
||||||
|
|
Loading…
Reference in a new issue