xo-imgui: support dynamic vsync_enabled setting + demo in ex4
This commit is contained in:
parent
5fcfadce9a
commit
b4a8ecd7d6
5 changed files with 58 additions and 14 deletions
|
|
@ -85,6 +85,8 @@ struct DrawState {
|
|||
public:
|
||||
/** when true display imgui demo window **/
|
||||
bool show_demo_window_ = false;
|
||||
/** whether vsync feature enabled (throttle to ~60 fps) **/
|
||||
bool vsync_enabled_ = true;
|
||||
|
||||
draw_state_type state_type_ = draw_state_type::alloc;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue