Fix bug involving assert a function call.

This commit is contained in:
Jeremie Roy 2013-04-24 12:23:47 +02:00
parent fc5f5d3ec2
commit b661d50b69

View file

@ -471,7 +471,9 @@ void FontManager::init()
m_blackGlyph.m_width=3; m_blackGlyph.m_width=3;
m_blackGlyph.m_height=3; m_blackGlyph.m_height=3;
BX_CHECK( addBitmap(m_blackGlyph, buffer), "unable to add white glyph" ); bool addResult = addBitmap(m_blackGlyph, buffer);
BX_UNUSED(addResult);
BX_CHECK( addResult , "unable to add white glyph" );
//make sure the black glyph doesn't bleed //make sure the black glyph doesn't bleed
/*int16_t texUnit = 65535 / m_textureWidth; /*int16_t texUnit = 65535 / m_textureWidth;