Fixed #239 compile flag to add userdata to command
This commit is contained in:
parent
929d74a338
commit
4ad73e83c2
@ -1,5 +1,6 @@
|
||||
# Changelog
|
||||
|
||||
- 2016/09/04 (1.133)- Fixed `NK_INCLUDE_COMMAND_USERDATA` define to not cause an error
|
||||
- 2016/09/04 (1.132)- Fixed wrong combobox height calculation
|
||||
- 2016/09/03 (1.131)- Fixed gaps inside combo boxes in OpenGL
|
||||
- 2016/09/02 (1.13) - Changed nuklear to not have any default vertex layout and
|
||||
|
@ -6001,7 +6001,7 @@ nk_draw_list_push_userdata(struct nk_draw_list *list, nk_handle userdata)
|
||||
if (!list) return;
|
||||
if (!list->cmd_count) {
|
||||
struct nk_draw_command *prev;
|
||||
nk_draw_list_push_command(list, nk_null_rect, list->null.texture);
|
||||
nk_draw_list_push_command(list, nk_null_rect, list->config.null.texture);
|
||||
prev = nk_draw_list_command_last(list);
|
||||
prev->userdata = userdata;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user