Fixed blend matrix does not work correctly/causes crashes, new V2

see issue 1010
This commit is contained in:
Oliver Duis
2011-09-20 19:22:53 +02:00
parent a744c9de6e
commit de602fa391
3 changed files with 35 additions and 20 deletions

View File

@@ -36,13 +36,6 @@ Imagefloat::Imagefloat (int w, int h)
allocate (w, h);
}
// Copy other image
Imagefloat::Imagefloat (Imagefloat& other) {
unaligned=NULL; data=NULL;
allocate (other.width, other.height);
memcpy(data, other.data, width*height*3);
}
Imagefloat::~Imagefloat () {
if (data!=NULL) {