server/red_worker: stride > 0 is tested, remove abort

Tested using the wip driver and xf86-video-modesetting.
This commit is contained in:
Alon Levy 2012-10-25 12:28:12 +02:00
parent f0761ef894
commit 2c85436dc6

View File

@ -9270,9 +9270,6 @@ static inline void red_create_surface(RedWorker *worker, uint32_t surface_id, ui
RedSurface *surface = &worker->surfaces[surface_id];
uint32_t i;
if (stride >= 0) {
spice_critical("Untested path stride >= 0");
}
spice_warn_if(surface->context.canvas);
surface->context.canvas_draws_on_surface = FALSE;