housekeeping
This commit is contained in:
parent
988c36a50a
commit
0a18bfc951
8 changed files with 82 additions and 31 deletions
4
ugui.c
4
ugui.c
|
|
@ -244,7 +244,7 @@ static void push_text_command(ug_ctx_t *ctx, ug_vec2_t pos, int size, ug_color_t
|
|||
}
|
||||
|
||||
|
||||
ug_cmd_t *ug_cmd_next(ug_ctx_t *ctx)
|
||||
ug_cmd_t * ug_cmd_next(ug_ctx_t *ctx)
|
||||
{
|
||||
if(!ctx)
|
||||
return NULL;
|
||||
|
|
@ -260,7 +260,7 @@ ug_cmd_t *ug_cmd_next(ug_ctx_t *ctx)
|
|||
|
||||
|
||||
// creates a new context, fills with default values, ctx is ready for ug_start()
|
||||
ug_ctx_t *ug_ctx_new(void)
|
||||
ug_ctx_t * ug_ctx_new(void)
|
||||
{
|
||||
ug_ctx_t *ctx = malloc(sizeof(ug_ctx_t));
|
||||
if (!ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue