From 1bbfdf6a78be3be0380f052d615ac1c894da67cf Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 7 Apr 2025 15:07:50 +0100 Subject: [PATCH] oops this needs be initialized --- src/r_draw8.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/r_draw8.c b/src/r_draw8.c index 72cf7f043..19ecd5e88 100644 --- a/src/r_draw8.c +++ b/src/r_draw8.c @@ -737,9 +737,9 @@ void R_DrawSpan_8 (void) uintptr_t xstep, ystep; register UINT32 bit; - UINT8 *restrict source; - UINT8 *restrict colormap; - UINT8 *restrict dest; + UINT8 *restrict source = ds_source; + UINT8 *restrict colormap = ds_colormap; + UINT8 *restrict dest = ylookup[ds_y] + columnofs[ds_x1]; const UINT8 *restrict deststop = screens[0] + vid.rowbytes * vid.height; register size_t count = (ds_x2 - ds_x1 + 1);