This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
just set the bConfigParams.palette can fixed the problem
Blend_Config_Params bConfigParams = Blend_Config_Params_DEFAULT;
Int8 palette[4][4] = {
{ 0x80, 0x80, 0x01, 0x00 },
{ 0x80, 0x80, 0xf0, 0xff },
{ 0x80, 0x80, 0xf8, 0xff },
{ 0x80, 0x80, 0xff, 0xff },
}; //change Transparency from 0xff to 0x00 for compeletely transparent
int i, j;
for (i=0; i<4; i++)
{
for (j=0; j<4; j++)
{
bConfigParams.palette[i][j] = palette[i][j];
}
}