mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Fixed warning: comparison is always true due to limited range of data type.
This commit is contained in:
parent
59d6f3d8ee
commit
d95e120430
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue