From fc326115fa154bc19f3f10d7c2c4e57710ef1e0d Mon Sep 17 00:00:00 2001 From: spl3g Date: Sun, 9 Nov 2025 20:43:50 +0300 Subject: Move to sokol (broke the wave screen) --- src/ui.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/ui.h') diff --git a/src/ui.h b/src/ui.h index d9ecbf4..bfae0c0 100644 --- a/src/ui.h +++ b/src/ui.h @@ -4,13 +4,12 @@ #include #include #include - -#include -#include +#include #include "arena.h" +#include "sokol/sokol_app.h" -#include "clay_renderer_SDL3.h" +#include "custom_elements.h" #include "clay.h" #include "messages.h" @@ -24,7 +23,7 @@ static const Clay_Color COLOR_ACCENT = (Clay_Color){133, 146, 137, 255}; typedef struct { char letter; - SDL_Keycode keycode; + sapp_keycode keycode; bool mouse_pressed; bool keyboard_pressed; } KeyState; -- cgit v1.2.3