Dec(TempDestData, fPixelSize);
end;
end;
- SetDataPointer(DestData, Format); //be careful, Data could be freed by this method
+ SetDataPointer(DestData, Format, Width, Height); //be careful, Data could be freed by this method
result := true;
except
if Assigned(DestData) then
Dec(TempDestData, fRowSize);
Inc(SourceData, fRowSize);
end;
- SetDataPointer(DestData, Format); //be careful, Data could be freed by this method
+ SetDataPointer(DestData, Format, Width, Height); //be careful, Data could be freed by this method
result := true;
except
if Assigned(DestData) then