summaryrefslogtreecommitdiff
path: root/graphics/iulib/files/patch-imglib_imgops.cc
blob: d00e356d59ad77e61972bad4f4a4b907ae80c408 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- imglib/imgops.cc.orig	2009-06-09 22:32:20 UTC
+++ imglib/imgops.cc
@@ -133,7 +133,7 @@ namespace iulib {
 
     template<class T,class V>
     void addscaled(narray<T> &dest,narray<T> &src,
-            V scale=1,int dx=0,int dy=0) {
+            V scale,int dx,int dy) {
         for (int i=0; i<dest.dim(0); i++)
             for (int j=0; j<dest.dim(1); j++)
                 dest.unsafe_at(i,j) += (T)(scale*xref(src,i+dx,j+dy));