Enable OSD also for BGR32, the code is the same as for RGB32.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31015 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-04-05 07:22:21 +00:00
parent a8a98ee6d1
commit c0b8b92d99
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ static void draw_alpha(int x0, int y0, int w, int h, unsigned char *src, unsigne
{
switch (image_format)
{
case IMGFMT_BGR32:
case IMGFMT_RGB32:
vo_draw_alpha_rgb32(w,h,src,srca,stride,image_data+4*(y0*image_width+x0),4*image_width);
break;