commit b4d343e
Devine Lu Linvega
·
2026-03-13 17:36:48 +0000 UTC
parent 3ae58ee
Removed useless variable
1 files changed,
+1,
-2
+1,
-2
1@@ -400,14 +400,13 @@ static void
2 screen_redraw(void)
3 {
4 if(screen_zoom == 1) {
5- const int src_stride = screen_wmar2 - screen_width;
6 int y, *dst_ptr = screen_pixels;
7 Uint8 *src_ptr = &screen_layers[8 * screen_wmar2 + 8];
8 for(y = 0; y < screen_height; y++) {
9 int *dst_end = dst_ptr + screen_width;
10 while(dst_ptr < dst_end)
11 *dst_ptr++ = screen_palette[*src_ptr++];
12- src_ptr += src_stride;
13+ src_ptr += 0x10;
14 }
15 } else {
16 int x, y, i, k, l;