diff options
Diffstat (limited to 'teensy/platform/gl')
| -rw-r--r-- | teensy/platform/gl/gl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/teensy/platform/gl/gl.c b/teensy/platform/gl/gl.c index 9f9c8f5..6bdae71 100644 --- a/teensy/platform/gl/gl.c +++ b/teensy/platform/gl/gl.c @@ -51,6 +51,7 @@ Gl_Platform p; static void character_callback(GLFWwindow *window, unsigned int cp) { + (void)window; p.typed = cp; } @@ -279,4 +280,5 @@ bool ty_platform_get_typed_char(uint32_t *c) if (p.typed == 0) return false; p.typed = 0; + return true; } |
