All pastes #673881 Raw Edit

lfranchi

public text v1 · immutable
#673881 ·published 2007-08-28 19:29 UTC
rendered paste body
--- trunk/KDE/kdebase/workspace/libs/plasma/effects/blur.cpp #705724:705725
@@ -54,7 +54,7 @@
      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++)
   {