PocketMatrix forums

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

Bug with RGBA surfaces and scaling.

I find that calling AlphaBlt on a CGapiRGBASurface with a scaled dstRect (e.g. right - left is different from actual source image width) causes problems. The image is rendered in the wrong place on screen, and wraps around the edge of the screen to show up on the other side. This happens on the PC when the display mode is rotated 180 degrees and on my iPAQ when the display mode is unrotated.

I discovered this problem in my own project, and confirmed it by modifying the Collision Mask example to use a CGapiRGBASurface and a scaled dstRect. I believe I have the most recent version of the GapiDraw dlls and libs (201b). Has anyone else seen this problem?
I can confirm this. It has been fixed in the upcoming GapiDraw 2.02.