diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 09:59:34 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-11-18 09:59:34 +0000 |
commit | c8dca5dad678258ee1bf7d60f5a6f766060c7fce (patch) | |
tree | 102a3c4b424a22cf892f759b6269da72cba5b8f2 /src/cairo-xcb-shm.c | |
parent | 3a94f4c7091ea6262007e7960e4cd915e17b33c0 (diff) |
Revert "xcb: Fix xcb-huge-image-shm"
This reverts commit 3a94f4c7091ea6262007e7960e4cd915e17b33c0.
We need to fallback to pushing large images over the wire if we exhaust
the SHM space.
Diffstat (limited to 'src/cairo-xcb-shm.c')
-rw-r--r-- | src/cairo-xcb-shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-xcb-shm.c b/src/cairo-xcb-shm.c index 7eee83d9..6972720b 100644 --- a/src/cairo-xcb-shm.c +++ b/src/cairo-xcb-shm.c @@ -577,7 +577,7 @@ _cairo_xcb_connection_allocate_shm_info (cairo_xcb_connection_t *connection, connection->flags &= ~CAIRO_XCB_HAS_SHM; free (pool); CAIRO_MUTEX_UNLOCK (connection->shm_mutex); - return _cairo_error (CAIRO_STATUS_NO_MEMORY); + return CAIRO_INT_STATUS_UNSUPPORTED; } pool->base = shmat (pool->shmid, NULL, 0); |