Commit 077e3753 authored by Gildas Bazin's avatar Gildas Bazin

* modules/gui/skins2/src/png_bitmap.cpp: compilation fix.

parent 6314367b
......@@ -49,10 +49,10 @@ PngBitmap::PngBitmap( intf_thread_t *pIntf, image_handler_t *pImageHandler,
{
for( int x = 0; x < m_width; x++ )
{
uint32_t b = (uint32_t)*(pData++) = (uint32_t)*(pSrc++);
uint32_t g = (uint32_t)*(pData++) = (uint32_t)*(pSrc++);
uint32_t r = (uint32_t)*(pData++) = (uint32_t)*(pSrc++);
(uint32_t)*pData = (uint32_t)*pSrc;
uint32_t b = *(pData++) = *(pSrc++);
uint32_t g = *(pData++) = *(pSrc++);
uint32_t r = *(pData++) = *(pSrc++);
*pData = *pSrc;
// Transparent pixel ?
if( aColor == (r<<16 | g<<8 | b) ) *pData = 0;
......
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