RRenamed BX_CHECK to BX_ASSERT.

This commit is contained in:
Бранимир Караџић
2020-06-16 10:06:18 -07:00
parent ee78de075c
commit 2cbcb6ea90
42 changed files with 364 additions and 364 deletions

View File

@@ -153,9 +153,9 @@ bgfx::TextureHandle loadTextureWithUpdate(const char* _filePath, uint64_t _flags
if (NULL != imageContainer)
{
BX_CHECK(!imageContainer->m_cubeMap, "Cubemap Texture loading not supported");
BX_CHECK(1 >= imageContainer->m_depth, "3D Texture loading not supported");
BX_CHECK(1 == imageContainer->m_numLayers, "Texture Layer loading not supported");
BX_ASSERT(!imageContainer->m_cubeMap, "Cubemap Texture loading not supported");
BX_ASSERT(1 >= imageContainer->m_depth, "3D Texture loading not supported");
BX_ASSERT(1 == imageContainer->m_numLayers, "Texture Layer loading not supported");
if (!imageContainer->m_cubeMap
&& 1 >= imageContainer->m_depth