Commit 4d750990 authored by ipkiss's avatar ipkiss
Browse files

* skins2/src/ft2_bitmap.cpp: Restored the previous version of this file, as

   the new one breaks text display on win32.
   I hope it won't break x11 skins at the same time :-)
parent 94afe2bc
......@@ -60,9 +60,9 @@ void FT2Bitmap::draw( const FT_Bitmap &rBitmap, int left, int top,
{
// The buffer in FT_Bitmap contains alpha values
uint8_t val = *(pBuf++);
*(pData++) = (blue * val) >> 8;
*(pData++) = (green * val) >> 8;
*(pData++) = (red * val) >> 8;
*(pData++) = blue;
*(pData++) = green;
*(pData++) = red;
*(pData++) = val;
}
}
......
Supports Markdown
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