[MPlayer-cvslog] r32919 - trunk/gui/skin/font.c

ib subversion at mplayerhq.hu
Thu Feb 17 11:17:45 CET 2011


Author: ib
Date: Thu Feb 17 11:17:45 2011
New Revision: 32919

Log:
Add alpha channel value (although it is zero).

(This clarifies the 32-bit / 4 bytes nature of the image.)

Modified:
   trunk/gui/skin/font.c

Modified: trunk/gui/skin/font.c
==============================================================================
--- trunk/gui/skin/font.c	Thu Feb 17 11:02:25 2011	(r32918)
+++ trunk/gui/skin/font.c	Thu Feb 17 11:17:45 2011	(r32919)
@@ -261,7 +261,7 @@ txSample * fntRender( wItem * item,int p
  obuf=(uint32_t *)item->Bitmap.Image;
  ibuf=(uint32_t *)Fonts[id]->Bitmap.Image;
 
- for ( i=0;i < item->Bitmap.ImageSize / 4;i++ ) obuf[i]=0xff00ff;
+ for ( i=0;i < item->Bitmap.ImageSize / 4;i++ ) obuf[i]=0x00ff00ff;
 
  if ( tw <= iw )
   {


More information about the MPlayer-cvslog mailing list