mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed GCC warnings.
This commit is contained in:
parent
3e6605a2c5
commit
c56b7ad261
2 changed files with 3 additions and 3 deletions
|
@ -652,7 +652,7 @@ struct Imgui
|
|||
m_left = left;
|
||||
m_scroll = _scroll;
|
||||
|
||||
_inputChar = 0 > _inputChar ? 0 : _inputChar;
|
||||
_inputChar = _inputChar & 0x7f; // ASCII of GTFO! :)
|
||||
m_lastChar = m_char;
|
||||
m_char = _inputChar;
|
||||
}
|
||||
|
|
|
@ -1207,7 +1207,7 @@ float fonsDrawText(struct FONScontext* stash,
|
|||
const char* str, const char* end)
|
||||
{
|
||||
struct FONSstate* state = fons__getState(stash);
|
||||
unsigned int codepoint;
|
||||
unsigned int codepoint = 0;
|
||||
unsigned int utf8state = 0;
|
||||
struct FONSglyph* glyph = NULL;
|
||||
struct FONSglyph* prevGlyph = NULL;
|
||||
|
@ -1391,7 +1391,7 @@ float fonsTextBounds(struct FONScontext* stash,
|
|||
float* bounds)
|
||||
{
|
||||
struct FONSstate* state = fons__getState(stash);
|
||||
unsigned int codepoint;
|
||||
unsigned int codepoint = 0;
|
||||
unsigned int utf8state = 0;
|
||||
struct FONSquad q;
|
||||
struct FONSglyph* glyph = NULL;
|
||||
|
|
Loading…
Reference in a new issue