updated Readme

This commit is contained in:
vurtun 2015-05-11 14:42:58 +02:00
parent 77ef75a44f
commit 64db4c0b0a
1 changed files with 4 additions and 4 deletions

View File

@ -178,10 +178,10 @@ struct gui_memory_status status;
struct gui_command_list list;
struct gui_command_buffer buffer;
allocator.userdata = ...;
allocator.alloc = ...;
allocator.realloc = ...;
allocator.free = ...;
allocator.userdata = your_allocator
allocator.alloc = your_alloc_function;
allocator.realloc = your_relloc_function;
allocator.free = your_free_function;
gui_buffer_init(buffer, &allocator, 2.0f, INITAL_SIZE, 0);
while (1) {