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:
David McPaul 2010-05-24 09:43:24 +00:00
parent 8391490adc
commit a3d9c49a18
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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(