From d1da2c71461798bb027a260ff8480b71ebffde26 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 16 Aug 2012 21:15:54 +0100 Subject: sna: Correct assertion for StoreColors Fixing the assertion reveals that it was bogus! Signed-off-by: Chris Wilson --- src/sna/sna_accel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 31c3c68a..cf82cc56 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -13899,7 +13899,7 @@ bool sna_accel_init(ScreenPtr screen, struct sna *sna) screen->UninstallColormap = miUninstallColormap; screen->ListInstalledColormaps = miListInstalledColormaps; screen->ResolveColor = miResolveColor; - assert(screen->StoreColors == PictureStoreColors); + assert(screen->StoreColors == NULL); screen->StoreColors = sna_store_colors; screen->BitmapToRegion = fbBitmapToRegion; -- cgit v1.2.3