mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
RRenamed BX_CHECK to BX_ASSERT.
This commit is contained in:
@@ -626,7 +626,7 @@ namespace ps
|
||||
|
||||
void updateEmitter(EmitterHandle _handle, const EmitterUniforms* _uniforms)
|
||||
{
|
||||
BX_CHECK(m_emitterAlloc.isValid(_handle.idx)
|
||||
BX_ASSERT(m_emitterAlloc.isValid(_handle.idx)
|
||||
, "destroyEmitter handle %d is not valid."
|
||||
, _handle.idx
|
||||
);
|
||||
@@ -645,7 +645,7 @@ namespace ps
|
||||
|
||||
void getAabb(EmitterHandle _handle, Aabb& _outAabb)
|
||||
{
|
||||
BX_CHECK(m_emitterAlloc.isValid(_handle.idx)
|
||||
BX_ASSERT(m_emitterAlloc.isValid(_handle.idx)
|
||||
, "getAabb handle %d is not valid."
|
||||
, _handle.idx
|
||||
);
|
||||
@@ -654,7 +654,7 @@ namespace ps
|
||||
|
||||
void destroyEmitter(EmitterHandle _handle)
|
||||
{
|
||||
BX_CHECK(m_emitterAlloc.isValid(_handle.idx)
|
||||
BX_ASSERT(m_emitterAlloc.isValid(_handle.idx)
|
||||
, "destroyEmitter handle %d is not valid."
|
||||
, _handle.idx
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user