Ignore:
Timestamp:
Feb 24, 2024, 8:04:26 PM (3 months ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/NatStat.pas

    r496 r530  
    109109  if MainTexture.Age <> AgePrepared then begin
    110110    AgePrepared := MainTexture.Age;
    111     BitBltCanvas(Back.Canvas, 0, 0, Width, Height,
    112       MainTexture.Image.Canvas, (MainTexture.Width - Width) div 2,
     111    BitBltBitmap(Back, 0, 0, Width, Height,
     112      MainTexture.Image, (MainTexture.Width - Width) div 2,
    113113      (MainTexture.Height - Height) div 2);
    114114    ImageOp_B(Back, Template, 0, 0, 0, 0, Width, Height);
     
    263263  Extinct := 1 shl pView and MyRO.Alive = 0;
    264264
    265   BitBltCanvas(Offscreen.Canvas, 0, 0, ClientWidth, ClientHeight,
    266     Back.Canvas, 0, 0);
     265  BitBltBitmap(Offscreen, 0, 0, ClientWidth, ClientHeight, Back, 0, 0);
    267266
    268267  Offscreen.Canvas.Font.Assign(UniFont[ftCaption]);
Note: See TracChangeset for help on using the changeset viewer.