Cleanup.
This commit is contained in:
parent
ffdd262f4b
commit
9ea283ed5a
@ -197,6 +197,7 @@ public:
|
|||||||
bgfx::setViewRect(0, 0, 0, uint16_t(m_width), uint16_t(m_height) );
|
bgfx::setViewRect(0, 0, 0, uint16_t(m_width), uint16_t(m_height) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 80 bytes stride = 64 bytes for 4x4 matrix + 16 bytes for RGBA color.
|
||||||
const uint16_t instanceStride = 80;
|
const uint16_t instanceStride = 80;
|
||||||
const bgfx::InstanceDataBuffer* idb = bgfx::allocInstanceDataBuffer(121, instanceStride);
|
const bgfx::InstanceDataBuffer* idb = bgfx::allocInstanceDataBuffer(121, instanceStride);
|
||||||
if (NULL != idb)
|
if (NULL != idb)
|
||||||
|
Loading…
Reference in New Issue
Block a user