Use the alpha from the source
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36922 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8391490adc
commit
a3d9c49a18
@ -62,7 +62,7 @@ BufferMixer::Merge(BBuffer *input, BBuffer *output) {
|
||||
c1 = *source++;
|
||||
c2 = *source++;
|
||||
c3 = *source++;
|
||||
alpha = 128; source++;
|
||||
alpha = *source++;
|
||||
*destination++ = ALPHABLEND(c1, *destination, alpha);
|
||||
*destination++ = ALPHABLEND(c2, *destination, alpha);
|
||||
*destination++ = ALPHABLEND(c3, *destination, alpha);
|
||||
|
@ -113,6 +113,7 @@ status_t VideoMixerNode::DisposeOutputCookie(int32 cookie)
|
||||
{
|
||||
fprintf(stderr,"VideoMixerNode(BBufferProducer)::DisposeOutputCookie\n");
|
||||
// nothing to do since our cookies are part of the vector iterator
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
status_t VideoMixerNode::SetBufferGroup(
|
||||
|
Loading…
Reference in New Issue
Block a user