Fixed GCC warnings.
This commit is contained in:
parent
872b25b447
commit
6403d9b5a6
1
3rdparty/stb_truetype/stb_truetype.h
vendored
1
3rdparty/stb_truetype/stb_truetype.h
vendored
@ -915,7 +915,6 @@ int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint)
|
|||||||
// now decrement to bias correctly to find smallest
|
// now decrement to bias correctly to find smallest
|
||||||
search -= 2;
|
search -= 2;
|
||||||
while (entrySelector) {
|
while (entrySelector) {
|
||||||
stbtt_uint16 start, end;
|
|
||||||
searchRange >>= 1;
|
searchRange >>= 1;
|
||||||
start = ttUSHORT(data + search + 2 + segcount*2 + 2);
|
start = ttUSHORT(data + search + 2 + segcount*2 + 2);
|
||||||
end = ttUSHORT(data + search + 2);
|
end = ttUSHORT(data + search + 2);
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
#include "../common/processevents.h"
|
#include "../common/processevents.h"
|
||||||
#include "../common/imgui/imgui.h"
|
#include "../common/imgui/imgui.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -8,6 +8,12 @@
|
|||||||
|
|
||||||
struct MouseState
|
struct MouseState
|
||||||
{
|
{
|
||||||
|
MouseState()
|
||||||
|
: m_mx(0)
|
||||||
|
, m_my(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
uint32_t m_mx;
|
uint32_t m_mx;
|
||||||
uint32_t m_my;
|
uint32_t m_my;
|
||||||
uint8_t m_buttons[entry::MouseButton::Count];
|
uint8_t m_buttons[entry::MouseButton::Count];
|
||||||
|
Loading…
Reference in New Issue
Block a user