mirror of https://github.com/mpv-player/mpv
Removed useless SetOpacity() calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13029 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5fcaa7d4a1
commit
ad1787ad0b
|
@ -465,7 +465,6 @@ preinit( const char *arg )
|
|||
is_g200 = 1;
|
||||
use_crtc2 = 0;
|
||||
}
|
||||
bes->SetOpacity( bes, 0 );
|
||||
}
|
||||
|
||||
if (use_crtc2) {
|
||||
|
@ -490,7 +489,6 @@ preinit( const char *arg )
|
|||
DirectFBErrorString( res ) );
|
||||
return -1;
|
||||
}
|
||||
crtc2->SetOpacity( crtc2, 0 );
|
||||
}
|
||||
|
||||
if (use_input) {
|
||||
|
@ -775,7 +773,6 @@ config( uint32_t width, uint32_t height,
|
|||
DirectFBErrorString( res ) );
|
||||
return -1;
|
||||
}
|
||||
spic->SetOpacity( spic, 0 );
|
||||
|
||||
dlc.flags = DLCONF_PIXELFORMAT | DLCONF_BUFFERMODE;
|
||||
dlc.pixelformat = DSPF_ALUT44;
|
||||
|
@ -839,14 +836,6 @@ config( uint32_t width, uint32_t height,
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue