forked from vurtun/nuklear
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added userdata to context,command,draw_command vurtun#48
As described in vurtun#48 I added optional userdata to zr_context, zr_command and zr_draw_command. WARNING: I did not extensivly tested this so any kind of feedback would be great. I also deactivated the feature my default so to activate it you need to define `ZR_COMPILE_WITH_COMMAND_USERDATA`. I also thought about deviding it up into command userdata and draw command userdata but that would only complicate things further and it is not really neccessary.
- Loading branch information
Showing
2 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters