{gfx,examples}: simplify text rendering API a bit
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
393320aa68
commit
122a1ea9a7
5 changed files with 153 additions and 117 deletions
|
|
@ -88,7 +88,6 @@ pub fn printTitle(
|
|||
args: anytype,
|
||||
) !void {
|
||||
// Free any previous window title slice
|
||||
// TODO: reuse allocations
|
||||
if (core.get(window_id, .title)) |slice| core.state().allocator.free(slice);
|
||||
|
||||
// Allocate and assign a new window title slice.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue