From 0be5030208f52bbeba86ceabe774f319c0681562 Mon Sep 17 00:00:00 2001 From: Ingo Date: Tue, 15 Oct 2013 11:31:51 +0200 Subject: [PATCH] Correction to copyData(ChunkyImageData... --- rtengine/iimage.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rtengine/iimage.h b/rtengine/iimage.h index e33b9b696..0349c6b89 100644 --- a/rtengine/iimage.h +++ b/rtengine/iimage.h @@ -689,9 +689,7 @@ namespace rtengine { assert (dest!=NULL); // Make sure that the size is the same, reallocate if necessary dest->allocate(width, height); - for (int i=0; idata, data, 3*width*height*sizeof(T)); - } + memcpy (dest->data, data, 3*width*height*sizeof(T)); } void rotate (int deg) {