This commit is contained in:
Branimir Karadžić 2015-12-25 10:21:36 -08:00
parent 3324802267
commit 7f3084166a

View file

@ -2509,7 +2509,7 @@ namespace bgfx
dvb.m_handle.idx = uint16_t(ptr>>32);
dvb.m_offset = uint32_t(ptr);
dvb.m_size = _mem->size;
dvb.m_numVertices = dvb.m_size / dvb.m_stride;
dvb.m_numVertices = dvb.m_size / dvb.m_stride;
dvb.m_startVertex = bx::strideAlign(dvb.m_offset, dvb.m_stride)/dvb.m_stride;
}