From f3b62fe53b19e36f21f8020831718cbf095d6a7b Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 3 Jul 2026 17:33:05 -0300 Subject: performance pass --- ui_sdl.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui_sdl.zig') diff --git a/ui_sdl.zig b/ui_sdl.zig index a86d02f4..0b2a2fd2 100644 --- a/ui_sdl.zig +++ b/ui_sdl.zig @@ -62,10 +62,15 @@ pub const Options = struct { // The backend struct is named `Vaxis` so `image.zig`'s `*vaxis.Vaxis` resolves. pub const Vaxis = SdlBackend; pub const Tty = SdlTty; +pub const supports_terminal_prepaint = false; pub fn Loop(comptime EventType: type) type { return SdlLoop(EventType); } +pub fn adoptAltScreen(vx: *Vaxis) void { + _ = vx; +} + const font_ttf = @embedFile("assets/AdwaitaMono-Regular.ttf"); const vert_spv_bytes = if (is_emscripten) "" else @embedFile("ui.vert.spv"); const frag_spv_bytes = if (is_emscripten) "" else @embedFile("ui.frag.spv"); -- cgit v1.3