1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2025-04-14 17:43:01 -04:00

[IconFetcher] Do faster scaling.

This commit is contained in:
Dave Davenport 2020-02-14 14:37:41 +01:00
parent 855d09ded7
commit 333d71af11

View file

@ -249,6 +249,7 @@ static void rofi_icon_fetcher_worker ( thread_state *sdata, G_GNUC_UNUSED gpoint
cairo_t *d = cairo_create ( surface );
cairo_scale ( d, scale, scale );
cairo_set_source_surface ( d, icon_surf, 0.0,0.0);
cairo_pattern_set_filter (cairo_get_source (d), CAIRO_FILTER_FAST);
cairo_paint ( d );
cairo_destroy ( d );