Changeset 303 for branches/highdpi/LocalPlayer/NatStat.pas
- Timestamp:
- Mar 9, 2021, 9:19:49 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/NatStat.pas
r244 r303 93 93 Template := TDpiBitmap.Create; 94 94 Template.PixelFormat := pf24bit; 95 LoadGraphicFile(Template, GetGraphicsDir + DirectorySeparator + 'Nation.png', gfNoGamma); 95 LoadGraphicFile(Template, GetGraphicsDir + DirectorySeparator + 'Nation.png', 96 [gfNoGamma]); 96 97 end; 97 98 98 99 procedure TNatStatDlg.FormDestroy(Sender: TObject); 99 100 begin 100 ReportText.Free;101 FreeAndNil(ReportText); 101 102 FreeMem(SelfReport); 102 Template.Free;103 Back.Free;103 FreeAndNil(Template); 104 FreeAndNil(Back); 104 105 end; 105 106
Note:
See TracChangeset
for help on using the changeset viewer.