Skip to content

Commit 16d3f07

Browse files
committed
added a small precision for allocated buffer alignment in the doc
1 parent c021ec9 commit 16d3f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lean_ui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ size_t ui_min_memory_size(void);
6363

6464
//-----------------------------------------------------------------------------------------------------------------------------
6565
// Initializes the library
66-
// [preallocated_buffer] user-allocated memory of ui_min_memory_size() bytes
66+
// [preallocated_buffer] user-allocated memory of ui_min_memory_size() bytes, must be aligned on sizeof(uintptr_t)
6767
// [renderer_callbacks] user-provided drawing callbacks
6868
// [font_height] height in pixels of the font
6969
ui_context* ui_init(const ui_def* def);

0 commit comments

Comments
 (0)