|
|
@@ -8140,7 +8140,7 @@ begin |
|
|
|
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 |
|
|
@@ -8168,7 +8168,7 @@ begin |
|
|
|
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 |
|
|
|