cap: explicitly set the image's component-type
parent
6e8e296b99
commit
f60bcc7dc1
|
@ -23,6 +23,7 @@ IN: cap
|
|||
: screenshot ( window -- bitmap )
|
||||
[ <image> ] dip
|
||||
[ gl-screenshot >>bitmap ] [ dim>> >>dim ] bi
|
||||
ubyte-components >>component-type
|
||||
RGBA >>component-order
|
||||
t >>upside-down?
|
||||
normalize-image ;
|
||||
|
|
Loading…
Reference in New Issue