Mercurial > mplayer.hg
changeset 13028:af8947c0c440
Removed useless SetOpacity() calls.
author | syrjala |
---|---|
date | Sun, 15 Aug 2004 00:27:28 +0000 |
parents | 1b340f237bad |
children | e0d566eae34a |
files | libvo/vo_dfbmga.c |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_dfbmga.c Sun Aug 15 00:25:23 2004 +0000 +++ b/libvo/vo_dfbmga.c Sun Aug 15 00:27:28 2004 +0000 @@ -465,7 +465,6 @@ is_g200 = 1; use_crtc2 = 0; } - bes->SetOpacity( bes, 0 ); } if (use_crtc2) { @@ -490,7 +489,6 @@ DirectFBErrorString( res ) ); return -1; } - crtc2->SetOpacity( crtc2, 0 ); } if (use_input) { @@ -775,7 +773,6 @@ DirectFBErrorString( res ) ); return -1; } - spic->SetOpacity( spic, 0 ); dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE; dlc.pixelformat = DSPF_ALUT44; @@ -839,14 +836,6 @@ pixelformat_name( subframe_format ), use_crtc2 ? (use_spic ? "Sub-picture layer" : "CRTC2") : "BES" ); - /* Display all needed layers */ - if (use_bes) - bes->SetOpacity( bes, 0xFF ); - if (use_crtc2) - crtc2->SetOpacity( crtc2, 0xFF ); - if (use_spic) - spic->SetOpacity( spic, 0xFF ); - osd_dirty = 0; osd_current = 1; blit_done = 0;