Fixed GCC warnings.

This commit is contained in:
bkaradzic 2013-04-24 22:03:04 -07:00
parent 872b25b447
commit 6403d9b5a6
3 changed files with 7 additions and 3 deletions

View File

@ -915,7 +915,6 @@ int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint)
// now decrement to bias correctly to find smallest
search -= 2;
while (entrySelector) {
stbtt_uint16 start, end;
searchRange >>= 1;
start = ttUSHORT(data + search + 2 + segcount*2 + 2);
end = ttUSHORT(data + search + 2);

View File

@ -14,7 +14,6 @@
#include "../common/processevents.h"
#include "../common/imgui/imgui.h"
#include <stdio.h>
#include <string.h>
#include <vector>
#include <string>

View File

@ -8,6 +8,12 @@
struct MouseState
{
MouseState()
: m_mx(0)
, m_my(0)
{
}
uint32_t m_mx;
uint32_t m_my;
uint8_t m_buttons[entry::MouseButton::Count];