diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-16 21:15:54 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-16 21:15:54 +0100 |
commit | d1da2c71461798bb027a260ff8480b71ebffde26 (patch) | |
tree | 2d565814852b3caf9f575f9ec383300fafbfd928 | |
parent | 31ddaa0cfbde083aef42d9fdb5ed13bb4edc36c8 (diff) |
sna: Correct assertion for StoreColors
Fixing the assertion reveals that it was bogus!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |