Browse Source

* fixed bug in FlipHorz and FlipVert

master
Bergmann89 10 years ago
parent
commit
84f22cf881
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      glBitmap.pas

+ 2
- 2
glBitmap.pas View File

@@ -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


Loading…
Cancel
Save