mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 18:08:03 +02:00
drm/i965: Ignore flushing on device finish.
This commit is contained in:
parent
3692597567
commit
dd6f96dd4a
1 changed files with 3 additions and 0 deletions
|
|
@ -1660,6 +1660,9 @@ _i965_device_flush (cairo_drm_device_t *device)
|
|||
{
|
||||
cairo_status_t status;
|
||||
|
||||
if (unlikely (device->base.finished))
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
|
||||
status = cairo_device_acquire (&device->base);
|
||||
if (likely (status == CAIRO_STATUS_SUCCESS))
|
||||
status = i965_device_flush ((i965_device_t *) device);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue