patch a vector for memory leaks

akkartik
Jul 10, 2024, 7:27 AM
JENSDEKV4L6YHP364RZZYH5CTZ322SD4555BOIQD6D5OYTHPSY3QC

Dependencies

  • [2] 5XA7TKWY pull font into editor
  • [3] APYPFFS3 call edit rather than App callbacks in tests
  • [4] CNCYMM6A make test initializations a little more obvious
  • [5] RRDO6H7H bugfix
  • [6] 2CK5QI7W make love event names consistent
  • [7] H6QZ7GRR more precise name
  • [8] LNUHQOGH start passing in Editor_state explicitly
  • [*] 2L5MEZV3 experiment: new edit namespace

Change contents

  • replacement in edit.lua at line 540
    [3.6146][3.175:230]()
    function edit.update_font_settings(State, font_height)
    [3.6146]
    [3.230]
    function edit.update_font_settings(State, font_height, font)
  • replacement in edit.lua at line 542
    [3.264][2.1563:1619]()
    State.font = love.graphics.newFont(State.font_height)
    [3.264]
    [3.337]
    State.font = font or love.graphics.newFont(State.font_height)