Implement dirty line marking in vid_voodoo_blitter

Added dirty line marking for single buffer mode.
This commit is contained in:
AITUS95
2026-01-09 13:02:43 +01:00
committed by GitHub
parent 43c419ecdb
commit fe4bce2758

View File

@@ -506,6 +506,9 @@ voodoo_fastfill(voodoo_t *voodoo, voodoo_params_t *params)
for (int x = params->clipLeft; x < params->clipRight; x++)
cbuf[x] = col;
}
/* Mark line dirty for single buffer mode */
if (params->draw_offset == params->front_offset && y < 2048)
voodoo->dirty_line[y] = 1;
}
}
}
@@ -535,4 +538,5 @@ voodoo_fastfill(voodoo_t *voodoo, voodoo_params_t *params)
}
}
}
}