From: Bergmann89 Date: Sun, 4 May 2014 00:23:55 +0000 (+0200) Subject: * fixed bug in FlipHorz and FlipVert X-Git-Url: https://git.delphigl.com/?a=commitdiff_plain;h=84f22cf88183bb324b71e1181c4ade2f22b2447a;p=LazOpenGLCore.git * fixed bug in FlipHorz and FlipVert --- diff --git a/glBitmap.pas b/glBitmap.pas index b1b4c65..c13d85c 100644 --- a/glBitmap.pas +++ b/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