hello
How to use this blend code
I tried with these declarations
unsigned short* buff1 = (unsigned short*)getbuffer();
PIXEL* flare = new PIXEL[128 * 128];
blend(flare,buff1,5);
i get this :
cannot convert parameter 1 from 'unsigned short *' to 'unsigned short'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast[/code]