windows.offscreen:make-bitmap-image wasn't filling in the component-type of the image object it makes
parent
327311b7a2
commit
b6abd4a90c
|
@ -42,6 +42,7 @@ IN: windows.offscreen
|
|||
swap >>dim
|
||||
swap >>bitmap
|
||||
BGRX >>component-order
|
||||
ubyte-components >>component-type
|
||||
t >>upside-down? ;
|
||||
|
||||
: with-memory-dc ( quot: ( hDC -- ) -- )
|
||||
|
@ -50,4 +51,4 @@ IN: windows.offscreen
|
|||
:: make-bitmap-image ( dim dc quot -- image )
|
||||
dim dc make-bitmap [ &DeleteObject drop ] dip
|
||||
quot dip
|
||||
dim bitmap>image ; inline
|
||||
dim bitmap>image ; inline
|
||||
|
|
Loading…
Reference in New Issue