[Spice-devel] [PATCH] server/red_worker: stride > 0 is tested, remove abort
Alon Levy
alevy at redhat.com
Thu Oct 25 03:28:56 PDT 2012
Tested using the wip driver and xf86-video-modesetting.
---
server/red_worker.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/server/red_worker.c b/server/red_worker.c
index 3e78c63..31d1341 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -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;
--
1.7.12.1
More information about the Spice-devel
mailing list