diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-03 17:33:05 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | f3b62fe53b19e36f21f8020831718cbf095d6a7b (patch) | |
| tree | cdfd008869bb5f5aeb69f0ef30584fec86f6f95b /ui_sdl.zig | |
| parent | 6b4b1f76bb6bf969fb5106f95fb3f9ad077fac08 (diff) | |
| download | pardes-f3b62fe53b19e36f21f8020831718cbf095d6a7b.tar.gz pardes-f3b62fe53b19e36f21f8020831718cbf095d6a7b.zip | |
performance pass
Diffstat (limited to 'ui_sdl.zig')
| -rw-r--r-- | ui_sdl.zig | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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"); |
