diff options
-rw-r--r-- | src/cairo-recording-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-recording-surface.c b/src/cairo-recording-surface.c index edbeed77..c6d34c0a 100644 --- a/src/cairo-recording-surface.c +++ b/src/cairo-recording-surface.c @@ -1654,7 +1654,7 @@ _cairo_recording_surface_replay_internal (cairo_recording_surface_t *surface, if (extents.width < r->width || extents.height < r->height) { num_elements = _cairo_recording_surface_get_visible_commands (surface, &extents); - use_indices = TRUE; + use_indices = num_elements != surface->commands.num_elements; } for (i = 0; i < num_elements; i++) { |