We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dba63a commit dfdb096Copy full SHA for dfdb096
2 files changed
runtime/image-utils.reds
@@ -219,7 +219,7 @@ image-utils: context [
219
src.h: as float! sh
220
size: rect.w * rect.h * 4
221
rgba: as int-ptr! allocate size
222
- set-memory as byte-ptr! rgba #"^(FF)" size
+ set-memory as byte-ptr! rgba #"^(00)" size
223
i: 0 j: 0
224
loop rect.h [
225
i: 0
runtime/platform/image-gdk.reds
@@ -296,9 +296,7 @@ OS-image: context [
296
b: p/1
297
p/1: p/3
298
p/3: b
299
- either alpha? [
300
- p/4: #"^(FF)" - p/4
301
- ][
+ unless alpha? [
302
p/4: #"^(FF)"
303
]
304
dst/offset: old
0 commit comments