Fixed warning.

This commit is contained in:
Branimir Karadžić 2016-12-14 23:23:05 -08:00
parent 7627153fc8
commit ced949ae00
1 changed files with 2 additions and 2 deletions

View File

@ -2207,8 +2207,8 @@ namespace bgfx
BGFX_API_FUNC(void reset(uint32_t _width, uint32_t _height, uint32_t _flags) )
{
BX_WARN(g_caps.limits.maxTextureSize < _width
&& g_caps.limits.maxTextureSize < _height
BX_WARN(g_caps.limits.maxTextureSize >= _width
&& g_caps.limits.maxTextureSize >= _height
, "Frame buffer resolution width or height can't be larger than limits.maxTextureSize %d (width %d, height %d)."
, g_caps.limits.maxTextureSize
, _width