Changeset 351


Ignore:
Timestamp:
Apr 6, 2021, 8:22:31 PM (7 months ago)
Author:
chronos
Message:
  • Fixed: Build of highdpi branch under Windows.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/Term.pas

    r349 r351  
    41634163      rec := Rect(0, 0, MapWidth, MapHeight);
    41644164{$IFDEF WINDOWS}
    4165       DpiScrollDC(offscreen.Canvas.Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt,
     4165      DpiScrollDC(offscreen.Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt,
    41664166        rec, rec, 0, nil);
    41674167{$ENDIF}
     
    41744174          rec.Bottom := MapHeight - overlap;
    41754175{$IFDEF WINDOWS}
    4176           DpiScrollDC(Canvas.Handle, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec,
     4176          DpiScrollDC(Canvas, (xwd - xw) * (xxt * 2), (ywd - yw) * yyt, rec,
    41774177            rec, 0, nil);
    41784178{$ENDIF}
Note: See TracChangeset for help on using the changeset viewer.