mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-09 22:36:29 +00:00
server/tests/test_display_base: fix update_area abort
Don't do zero area update_areas, server now aborts on those. This tester is not supposed to test those aborts.
This commit is contained in:
parent
eab78033a6
commit
f567f6b4cd
@ -491,7 +491,9 @@ static void produce_command(Test *test)
|
||||
.top = 0,
|
||||
.bottom = (test->target_surface == 0 ? test_height : SURF_HEIGHT)
|
||||
};
|
||||
qxl_worker->update_area(qxl_worker, test->target_surface, &rect, NULL, 0, 1);
|
||||
if (rect.right > 0 && rect.bottom > 0) {
|
||||
qxl_worker->update_area(qxl_worker, test->target_surface, &rect, NULL, 0, 1);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user