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:
parent
855d09ded7
commit
333d71af11
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue