mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-01 06:00:14 +01:00
Revert "xcb: Fix xcb-huge-image-shm"
This reverts commit 3a94f4c709.
We need to fallback to pushing large images over the wire if we exhaust
the SHM space.
This commit is contained in:
parent
3a94f4c709
commit
c8dca5dad6
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue