Explorar el Código

* fixed bug in FlipHorz and FlipVert

master
Bergmann89 hace 10 años
padre
commit
84f22cf881
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      glBitmap.pas

+ 2
- 2
glBitmap.pas Ver fichero

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


Cargando…
Cancelar
Guardar