racket/gui: use cairo_paint() to copy buffer to screen

Following 54e42664df, use cairo_paint() instead of cairo_fill()
to copy offscreen content onscreen, just in case it's faster.
This commit is contained in:
Matthew Flatt 2014-09-25 13:58:52 -06:00
parent 641fa5f744
commit a85a2d4392

View File

@ -241,8 +241,6 @@
(cairo_matrix_init_translate m 0 0)
(cairo_matrix_scale m sc sc)
(cairo_pattern_set_matrix (cairo_get_source cr) m))))
(cairo_new_path cr)
(cairo_rectangle cr 0 0 w h)
(cairo_fill cr)
(cairo_paint cr)
(cairo_set_source cr s)
(cairo_pattern_destroy s))))