summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-16 21:15:54 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-16 21:15:54 +0100
commitd1da2c71461798bb027a260ff8480b71ebffde26 (patch)
tree2d565814852b3caf9f575f9ec383300fafbfd928
parent31ddaa0cfbde083aef42d9fdb5ed13bb4edc36c8 (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.c2
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;