Fixes usage of argb-pixels
This commit is contained in:
parent
68051f845a
commit
6474b519bb
|
@ -96,8 +96,8 @@
|
|||
|
||||
(let ([bm-normal (make-object bitmap% (max 1 width) (max 1 height))]
|
||||
[bm-bitmap (make-object bitmap% (max 1 width) (max 1 height))]
|
||||
[s-normal (make-bytes (* width height 4))]
|
||||
[s-bitmap (make-bytes (* width height 4))])
|
||||
[s-normal (make-bytes (* (max 1 width) (max 1 height) 4))]
|
||||
[s-bitmap (make-bytes (* (max 1 width) (max 1 height) 4))])
|
||||
|
||||
(send bdc set-bitmap bm-normal)
|
||||
(send bdc clear)
|
||||
|
|
Loading…
Reference in New Issue
Block a user