NQD dirty boxes, X11 backend.

This commit is contained in:
gbeauche 2006-05-14 08:32:33 +00:00
parent 98675da523
commit 5e4c2b7bb9

View File

@ -2557,5 +2557,17 @@ static void *redraw_func(void *arg)
void video_set_dirty_area(int x, int y, int w, int h)
{
// TBD
VideoInfo const & mode = VModes[cur_mode];
const int screen_width = VIDEO_MODE_X;
const int screen_height = VIDEO_MODE_Y;
const int bytes_per_row = VIDEO_MODE_ROW_BYTES;
#ifdef ENABLE_VOSF
if (use_vosf) {
vosf_set_dirty_area(x, y, w, h, screen_width, screen_height, bytes_per_row);
return;
}
#endif
// XXX handle dirty bounding boxes for non-VOSF modes
}