Added ability to bind static index buffer to compute.

This commit is contained in:
Branimir Karadžić
2015-01-10 20:56:38 -08:00
parent ef05e607d6
commit a038b6d426
7 changed files with 17 additions and 13 deletions

View File

@@ -1438,7 +1438,7 @@ namespace bgfx
}
}
void createIndexBuffer(IndexBufferHandle _handle, Memory* _mem) BX_OVERRIDE
void createIndexBuffer(IndexBufferHandle _handle, Memory* _mem, uint8_t /*_flags*/) BX_OVERRIDE
{
m_indexBuffers[_handle.idx].create(_mem->size, _mem->data);
}