PocketMatrix forums

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

BltFast not working with ClipRect

Planet9Dave · 20 May 2009, 23:29 UTC
Hi, I'm hoping somebody out there has run into this already and has a fix/workaround:

I'm building 2D GUI overlay components for the iPhone, using version 3-952, and getting different behavior dependending on whether I reference the free or commercial version of EdgeLib. Specifically:
Code:

RECT clipRegion = { 0, rgbaSurf->GetHeight()-h, w, rgbaSurf->GetHeight() };
display->BltFast( x, y, rgbaSurf, &clipRegion; );

This works with the free version, but appears to corrupt the already-rendered background (including failing to clip to the specified width) when linking against the commercial version. Also, the behavior (correct in free, incorrect in commercial) is consistent across Simulator/Debug, Device/Release and Device/Distribution builds. Any input would be greatly appreciated.

Dave
Hi Dave,

We've sent you an e-mail about this issue.