Page 1 of 1

SetClipboard doesn't work with palette brushes

Posted: Tue Mar 18, 2025 2:48 pm
by jPV
I get a hit in the MorphOS debug log if I try to use SetClipboard() with a palette brush, and the resulting image is always a solid wrongly colored image (if you check from the Clipboards dir, for example).

Code: Select all

CreateBrush(1, 200, 100, #RED, {Palette=#PALETTE_AGA})
SetClipboard(#CLIPBOARD_IMAGE, 1)

Re: SetClipboard doesn't work with palette brushes

Posted: Sun Mar 23, 2025 9:17 pm
by airsoftsoftwair
Ok, will be fixed, thanks for reporting!

Re: SetClipboard doesn't work with palette brushes

Posted: Sun May 04, 2025 5:34 pm
by airsoftsoftwair

Code: Select all

- Fix: SetClipboard() crashed when using #CLIPBOARD_IMAGE with a palette brush