pict: restore use of loaded mask, if any, by bitmap
In case a `bitmap%` object with a mask is passed to `bitmap`.
This commit is contained in:
parent
16552e9a67
commit
94e767cfa9
|
@ -1018,7 +1018,7 @@
|
|||
[h (send bm get-height)])
|
||||
(dc
|
||||
(lambda (dc x y)
|
||||
(send dc draw-bitmap bm x y 'solid black-color))
|
||||
(send dc draw-bitmap bm x y 'solid black-color (send bm get-loaded-mask)))
|
||||
w h))
|
||||
(frame (inset (colorize (text "bitmap failed") "red") 2)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user