spice: sever: remove assert on nop copy bits

This commit is contained in:
Yaniv Kamay 2009-12-21 00:29:39 +02:00
parent 00d5bf8b95
commit 31dff987ec

View File

@ -3297,7 +3297,9 @@ static void add_clip_rects(RedWorker *worker, QRegion *rgn, PHYSICAL data)
static inline Shadow *__new_shadow(RedWorker *worker, Drawable *item, Point *delta)
{
ASSERT(delta->x || delta->y);
if (!delta->x && !delta->y) {
return NULL;
}
Shadow *shadow = malloc(sizeof(Shadow));
if (!shadow) {