cocoa: fix initialization of screen bitmaps
This commit is contained in:
parent
7378c2e42f
commit
0ec4c3ae8f
|
@ -24,9 +24,10 @@
|
||||||
w
|
w
|
||||||
h)])
|
h)])
|
||||||
;; initialize bitmap to empty - needed?
|
;; initialize bitmap to empty - needed?
|
||||||
#;
|
|
||||||
(let ([cr (cairo_create s)])
|
(let ([cr (cairo_create s)])
|
||||||
(cairo_set_operator cr CAIRO_OPERATOR_CLEAR)
|
(cairo_set_operator cr (if with-alpha?
|
||||||
|
CAIRO_OPERATOR_CLEAR
|
||||||
|
CAIRO_OPERATOR_SOURCE))
|
||||||
(cairo_set_source_rgba cr 1.0 1.0 1.0 1.0)
|
(cairo_set_source_rgba cr 1.0 1.0 1.0 1.0)
|
||||||
(cairo_paint cr)
|
(cairo_paint cr)
|
||||||
(cairo_destroy cr))
|
(cairo_destroy cr))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user