mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 21:28:26 +02:00
fb_accel_td: fix transp handling in blit2FB
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5c337db152
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2018-02-25 (Sun, 25 Feb 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
9a939fa28a
commit
41837d4033
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
(C) 2017 Stefan Seyfried
|
(C) 2017-2018 Stefan Seyfried
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -132,10 +132,7 @@ void CFbAccelTD::blit2FB(void *fbbuff, uint32_t width, uint32_t height, uint32_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (transp)
|
if (transp)
|
||||||
{
|
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_NOFX);
|
||||||
surf->SetSrcColorKey(surf, 0, 0, 0);
|
|
||||||
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_SRC_COLORKEY);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_BLEND_ALPHACHANNEL);
|
dfbdest->SetBlittingFlags(dfbdest, DSBLIT_BLEND_ALPHACHANNEL);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user