mirror of
https://github.com/aap/librw.git
synced 2024-11-24 20:55:41 +00:00
fixed build for linux
This commit is contained in:
parent
70114f8e3e
commit
4f5687dd2e
@ -152,7 +152,7 @@ keypress(GLFWwindow *window, int key, int scancode, int action, int mods)
|
||||
static void
|
||||
charinput(GLFWwindow *window, unsigned int c)
|
||||
{
|
||||
EventHandler(CHARINPUT, (void*)c);
|
||||
EventHandler(CHARINPUT, (void*)(uintptr)c);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -192,7 +192,7 @@ ImGuiEventHandler(sk::Event e, void *param)
|
||||
io.KeysDown[c] = 0;
|
||||
return EVENTPROCESSED;
|
||||
case CHARINPUT:
|
||||
c = (uint)param;
|
||||
c = (uint)(uintptr)param;
|
||||
io.AddInputCharacter((unsigned short)c);
|
||||
return EVENTPROCESSED;
|
||||
case MOUSEMOVE:
|
||||
|
Loading…
Reference in New Issue
Block a user