vurtun / nuklear

A single-header ANSI C gui library
13.66k stars 1.11k forks source link

When I update the nk_begin title it blocks the entire window. #929

Closed hbiblia closed 4 years ago

hbiblia commented 4 years ago

Hello

I was doing some tests to show the SPF in the title of a window. When I update the title continuously the window and all the content of it is blocked.

The test was with the example of SDL2_GL2.

UPDATE 1

In the SFML_GL2 test it happens the same, I still do not try in others, I am in a work pc that is not very good to use GL3.

UPDATE END

I understand why it is happening.

nk_begin_titled has a name parameter that appears to be an identifier and should not be updated.

This I think would not be treated as an error is that if you want to update the window title it is better to use "nk_begin_titled"