Commit 2b1a76ee authored by Jean-Paul Saman's avatar Jean-Paul Saman

Cleanup in transparant().

parent 770f02b9
......@@ -703,9 +703,10 @@ static void SetOverlayTransparency( intf_thread_t *p_intf,
{
msg_Dbg( p_intf, "Make overlay %s",
b_transparent ? "transparent" : "opaque" );
memset( p_sys->p_overlay->p[0].p_pixels, 0x00, i_page_size );
if( b_transparent )
memset( p_sys->p_overlay->p[0].p_pixels, 0xFF, i_page_size );
else
memset( p_sys->p_overlay->p[0].p_pixels, 0x00, i_page_size );
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment