mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
neutrino: theoretical framebuffer correctness fix for TD
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9e72dcc2f6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-01 (Sun, 01 May 2011)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1840,9 +1840,12 @@ void CFrameBuffer::blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (transp)
|
if (transp)
|
||||||
|
{
|
||||||
surf->SetSrcColorKey(surf, 0, 0, 0);
|
surf->SetSrcColorKey(surf, 0, 0, 0);
|
||||||
|
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_SRC_COLORKEY);
|
||||||
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_SRC_COLORKEY);
|
}
|
||||||
|
else
|
||||||
|
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_NOFX);
|
||||||
dfbdest->Blit(dfbdest, surf, &src, xoff, yoff);
|
dfbdest->Blit(dfbdest, surf, &src, xoff, yoff);
|
||||||
surf->Release(surf);
|
surf->Release(surf);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user