1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 14:47:53 +00:00
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8979 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2003-01-18 00:43:01 +00:00
parent 190dceb619
commit 54dfdf4927

View File

@ -176,6 +176,7 @@ txSample * fntRender( wItem * item,int px,char * fmt,... )
item->Bitmap.Height=item->height=fntTextHeight( id,p );
item->Bitmap.Width=iw;
item->Bitmap.ImageSize=item->height * iw * 4;
if ( !item->Bitmap.ImageSize ) return NULL;
item->Bitmap.BPP=32;
item->Bitmap.Image=malloc( item->Bitmap.ImageSize );
}