PocketMatrix forums

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

alpha blending

Sorry for the poor question, but I can't find what I'm doing wrong with alpha blending:

pBackBuffer->AlphaBlt(NULL,m_touch,NULL,alphaS,NULL,GDALPHABLT_OPACITY, α);

Where m_touch and pBackBuffer is a CGapiSurface * and alpha is a GDALPHABLTFX.


I keep getting the GDERR_INVALIDPARAMS error.
I've also tried using a CGapiRGBASurface and the corresponding alphablt method, but with the same results.
α should be alpha in the line of code - sorry
ok sorry - i just needed to define the rectangles for it to work :?
Johan -> Is 'alpha blt fast' hardware specific?

Or it will work on any ppc models and smartphones?