LCL, win, use rop on BitBtl and StretchBlt, issue #20613

git-svn-id: trunk@33319 -
This commit is contained in:
jesus 2011-11-05 05:21:08 +00:00
parent 6837d9274e
commit 7d583e3b30

View File

@ -3538,10 +3538,10 @@ begin
else begin
if (Width = SrcWidth) and (Height = SrcHeight) then
begin
Result := Windows.BitBlt(DestDC, X, Y, Width, Height, SrcDC, XSrc, YSrc, SRCCOPY);
Result := Windows.BitBlt(DestDC, X, Y, Width, Height, SrcDC, XSrc, YSrc, Rop);
end
else begin
Result := Windows.StretchBlt(DestDC, X, Y, Width, Height, SrcDC, XSrc, YSrc, SrcWidth, SrcHeight, SRCCOPY);
Result := Windows.StretchBlt(DestDC, X, Y, Width, Height, SrcDC, XSrc, YSrc, SrcWidth, SrcHeight, Rop);
end;
end;
end