Commit 1fd23e2c authored by Cyril Deguet's avatar Cyril Deguet

* png_bitmap.cpp: fixed the transparency

parent f4487791
......@@ -117,8 +117,9 @@ PngBitmap::PngBitmap( intf_thread_t *pIntf, string fileName,
// Transparent pixel ?
if( aColor == (r<<16 | g<<8 | b) )
{
*(pData++) = 0;
*pData = 0;
}
pData++;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment