浏览代码

* fixed bug in FlipHorz and FlipVert

master
Bergmann89 10 年前
父节点
当前提交
84f22cf881
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      glBitmap.pas

+ 2
- 2
glBitmap.pas 查看文件

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


正在加载...
取消
保存