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.
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.