summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-12 10:34:10 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-12 12:05:43 +0100
commitdc18eaa585c36c8e5f5b4ec405a976a835fd2ac3 (patch)
treefaf1b626b9d8b4986e5b035a176304fe253d8d3b /src/sna/sna_driver.c
parentb580abdfa68108f3e63ee1f897b6ea83b9c47935 (diff)
sna: Make the failure to create render caches non-fatal
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index 5d2915f1..6810c7a1 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -168,11 +168,7 @@ static Bool sna_create_screen_resources(ScreenPtr screen)
free(screen->devPrivate);
screen->devPrivate = NULL;
- if (!sna_accel_create(screen, sna)) {
- xf86DrvMsg(screen->myNum, X_ERROR,
- "[intel] Failed to initialise acceleration routines\n");
- goto cleanup_front;
- }
+ sna_accel_create(sna);
sna->front = screen->CreatePixmap(screen,
screen->width,