PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Bug ?

surface->fillRect(RGB(0, 255, 0), Utility::Rect(0,0,240, 160), Surface::MID_OPACITY);

certain values will crash it, but the opacity is behaving like a scalar to the rectangle dimensions.

it's very broken, wouldn't suprise me if the normal rectfill using the default 2nd and 3rd params cause some memory trashing at the end of the screen buffer.
Hi!
In the last build of GledPlay (b228) we've introduced some asm code in fillRect to make it faster.
It seems that this has broken fillRect using non-default opacity values. We're fixing it right now, and we'll be releasing a patch version of GledPlay at the end of the day.

Thank you very much for your bug report, and we're sorry for the inconveniences.

Best Regards,
Sergio.
Hi,
We've upload a new release with this problem fixed.

Again, thank you for your bug report.

Regards,
Sergio.
No inconveniences at all, thanks for the fix, works loverly :D I'll try my best to find you some more ;)