diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-27 15:44:38 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-02-13 17:37:59 +0100 |
commit | 52d941308bd9d8cfcf499008e52990fc81fa066a (patch) | |
tree | 7a339d1d6d375a4f9b0e5c7de042fc235ccbf83b /server/red_worker.c | |
parent | 51d334c30a4c79c59d8c5185b3d307aea5ba1bd5 (diff) |
display: reuse code in display_channel_draw_until
Diffstat (limited to 'server/red_worker.c')
-rw-r--r-- | server/red_worker.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/red_worker.c b/server/red_worker.c index ac50be4f..ccb07fe9 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -484,7 +484,7 @@ static void dcc_detach_stream_gracefully(DisplayChannelClient *dcc, stream_id, stream->current != NULL); rect_debug(&upgrade_area); if (update_area_limit) { - display_channel_draw_till(DCC_TO_DC(dcc), &upgrade_area, 0, update_area_limit); + display_channel_draw_until(DCC_TO_DC(dcc), &upgrade_area, 0, update_area_limit); } else { display_channel_draw(DCC_TO_DC(dcc), &upgrade_area, 0); } @@ -1655,8 +1655,7 @@ static void red_add_lossless_drawable_dependencies(RedChannelClient *rcc, } else { sync_rendered = FALSE; for (i = 0; i < num_deps; i++) { - display_channel_draw_till(display, deps_areas[i], - deps_surfaces_ids[i], item); + display_channel_draw_until(display, deps_areas[i], deps_surfaces_ids[i], item); } } |