From b6abd4a90cc0dfde3e204013626df4bed4523fe3 Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 25 Jun 2009 09:15:04 -0500 Subject: [PATCH] windows.offscreen:make-bitmap-image wasn't filling in the component-type of the image object it makes --- basis/windows/offscreen/offscreen.factor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basis/windows/offscreen/offscreen.factor b/basis/windows/offscreen/offscreen.factor index 6e65958220..fea7240bf6 100755 --- a/basis/windows/offscreen/offscreen.factor +++ b/basis/windows/offscreen/offscreen.factor @@ -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 \ No newline at end of file + dim bitmap>image ; inline -- 2.34.1