Skip to content

buffer: Make init() clip match reset() clip#927

Open
RobLoach wants to merge 1 commit intoImmediate-Mode-UI:masterfrom
RobLoach:buffer-buffer_init-clip
Open

buffer: Make init() clip match reset() clip#927
RobLoach wants to merge 1 commit intoImmediate-Mode-UI:masterfrom
RobLoach:buffer-buffer_init-clip

Conversation

@RobLoach
Copy link
Copy Markdown
Contributor

@RobLoach RobLoach commented Mar 25, 2026

When looking through nuklear_draw.c, I saw nk_command_buffer_reset() would set the ->clip to nk_null_rect. The nk_command_buffer_init() function, however, did not.

While this shouldn't really have an impact on anything, I think having the clip init and reset be aligned may be a good thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant