mirror of
https://github.com/86Box/86Box.git
synced 2026-02-22 09:35:32 -07:00
Implement dirty line marking in vid_voodoo_blitter
Added dirty line marking for single buffer mode.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user