Fixed warning: comparison is always true due to limited range of data type.

This commit is contained in:
bkaradzic 2013-07-15 21:48:55 -07:00
parent 59d6f3d8ee
commit d95e120430

View file

@ -1250,7 +1250,7 @@ namespace bgfx
{
BGFX_CHECK_MAIN_THREAD();
BX_CHECK(NULL != _mem, "_mem can't be NULL");
BX_CHECK(_side >= 0 && _side <= 5, "Invalid side %d.", _side);
BX_CHECK(_side <= 5, "Invalid side %d.", _side);
if (_width == 0
|| _height == 0)
{