projects
/
glBitmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
440a368
)
* fixed bug in FlipHorz and FlipVert
author
Bergmann89
<bergmann89@muo-game.de>
Sun, 4 May 2014 00:23:55 +0000
(
02:23
+0200)
committer
Bergmann89
<bergmann89@muo-game.de>
Sun, 4 May 2014 00:24:08 +0000
(
02:24
+0200)
glBitmap.pas
patch
|
blob
|
history
diff --git
a/glBitmap.pas
b/glBitmap.pas
index
b1b4c65
..
c13d85c
100644
(file)
--- a/
glBitmap.pas
+++ b/
glBitmap.pas
@@
-8140,7
+8140,7
@@
begin
Dec(TempDestData, fPixelSize);
end;
end;
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
result := true;
except
if Assigned(DestData) then
@@
-8168,7
+8168,7
@@
begin
Dec(TempDestData, fRowSize);
Inc(SourceData, fRowSize);
end;
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
result := true;
except
if Assigned(DestData) then