mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fix bug involving assert a function call.
This commit is contained in:
parent
fc5f5d3ec2
commit
b661d50b69
1 changed files with 3 additions and 1 deletions
|
@ -471,7 +471,9 @@ void FontManager::init()
|
|||
|
||||
m_blackGlyph.m_width=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
|
||||
|
||||
/*int16_t texUnit = 65535 / m_textureWidth;
|
||||
|
|
Loading…
Reference in a new issue