diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-08 13:01:24 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-12-08 13:01:24 +0000 |
| commit | ccbe5845601a5a4d7c14f5744e9ea42a2e50be90 (patch) | |
| tree | f310845334cac959ebd9a960b0fd6d7f22a51b15 | |
| parent | 9a2a240293637e9205f4bc58bdf911c726f9211b (diff) | |
`data` -> `res` to minimize confusion
| -rw-r--r-- | vendor/kb_text_shape/kb_text_shape_procs.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/kb_text_shape/kb_text_shape_procs.odin b/vendor/kb_text_shape/kb_text_shape_procs.odin index 686328b28..a9cee184c 100644 --- a/vendor/kb_text_shape/kb_text_shape_procs.odin +++ b/vendor/kb_text_shape/kb_text_shape_procs.odin @@ -379,9 +379,9 @@ AllocatorFromOdinAllocator :: proc "contextless" (allocator: ^runtime.Allocator) case .NONE: return case .ALLOCATE: - data, _ := runtime.mem_alloc(int(Op.Allocate.Size), runtime.DEFAULT_ALIGNMENT) - Op.Allocate.Pointer = raw_data(data) - Op.Allocate.Size = u32(len(data)) + res, _ := runtime.mem_alloc(int(Op.Allocate.Size), runtime.DEFAULT_ALIGNMENT) + Op.Allocate.Pointer = raw_data(res) + Op.Allocate.Size = u32(len(res)) case .FREE: _ = runtime.mem_free(Op.Free.Pointer) } |