aboutsummaryrefslogtreecommitdiff
path: root/teensy/platform/gl
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-23 12:14:51 -0400
committeriamcheeseman <[email protected]>2026-05-23 12:14:51 -0400
commit8d9195df408915847fedfd595ea73ce24357788c (patch)
treed46bf869e15f22ae17dddb93180afa75c872c21a /teensy/platform/gl
parentc2ea095659dea04663b83fe5313173f209c9bb0b (diff)
fix warnings
Diffstat (limited to 'teensy/platform/gl')
-rw-r--r--teensy/platform/gl/gl.c2
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;
}