Replace expf with std::exp, which does the same thing, and is available on
machines that don't have expf, like Solaris. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705725
This commit is contained in:
parent
0ad0b8c21f
commit
5227b697c3
@ -54,7 +54,7 @@ void expblur( QImage &img, int radius )
|
||||
the kernel is within the radius.
|
||||
(Kernel extends to infinity)
|
||||
*/
|
||||
int alpha = (int)((1<<aprec)*(1.0f-expf(-2.3f/(radius+1.f))));
|
||||
int alpha = (int)((1<<aprec)*(1.0f-std::exp(-2.3f/(radius+1.f))));
|
||||
|
||||
for(int row=0;row<img.height();row++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user