mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[kandinsky] Remove some warnings
This commit is contained in:
committed by
LeaNumworks
parent
1dd1e6ca8d
commit
dfb30e5799
@@ -31,6 +31,7 @@ void KDFont::fetchGreyscaleGlyphForChar(char c, uint8_t * greyscaleBuffer) const
|
||||
compressedGlyphDataSize(c),
|
||||
m_glyphSize.width() * m_glyphSize.height() * k_bitsPerPixel/8
|
||||
);
|
||||
(void)resultSize; // Silence the "variable unused" warning if assertions are not enabled
|
||||
assert(resultSize == m_glyphSize.width() * m_glyphSize.height() * k_bitsPerPixel/8);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user