Ignore:
Timestamp:
Jan 9, 2017, 9:41:20 PM (7 years ago)
Author:
chronos
Message:

Fixed: Problem with reading Form canvas during OnPaint event using BitBlt. Chnaged to read using StreatchDraw as workaround.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Select.pas

    r40 r41  
    821821        LoweredTextOut(Canvas, -1, MainTexture, xScreen + 10,
    822822          ClientHeight - 29, s);
    823         BitBlt(ScienceNationDot.Canvas.Handle, 0, 0, 17, 17, Canvas.Handle,
     823        BitBltCanvas(ScienceNationDot.Canvas, 0, 0, 17, 17, Canvas,
    824824          xScreen - 10, ClientHeight - 27, SRCCOPY);
    825825        ImageOp_BCC(ScienceNationDot, Templates, 0, 0, 114, 211, 17, 17,
Note: See TracChangeset for help on using the changeset viewer.