PocketMatrix forums

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

Problem with AlphaBlt in GD 1.04

Hi,

I have this line of code:

Code:

>
> if(Surface->AlphaBlt(&DestRect;,BS,&SRI;,BS,&SRA;,GDABLT_MIRRORLEFTRIGHT,&abFX;) != GD_OK) return false;
>


Which fails with an access violation (c0000005) error. But if I use the same RECT and surface in AlphaBltFast(), it works. I'm also sure my DestRect is valid.

Any ideas?

Thanks,

--Eric