Correction to copyData(ChunkyImageData...
This commit is contained in:
@@ -689,10 +689,8 @@ namespace rtengine {
|
|||||||
assert (dest!=NULL);
|
assert (dest!=NULL);
|
||||||
// Make sure that the size is the same, reallocate if necessary
|
// Make sure that the size is the same, reallocate if necessary
|
||||||
dest->allocate(width, height);
|
dest->allocate(width, height);
|
||||||
for (int i=0; i<height; i++) {
|
|
||||||
memcpy (dest->data, data, 3*width*height*sizeof(T));
|
memcpy (dest->data, data, 3*width*height*sizeof(T));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
void rotate (int deg) {
|
void rotate (int deg) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user