Commit 8a04206f authored by Hanspeter Portner's avatar Hanspeter Portner

nk: remove superfluous nk api call.

parent d1ea928f
Pipeline #14102666 (#) passed with stages
in 5 minutes and 58 seconds
......@@ -2054,8 +2054,6 @@ _expose(struct nk_context *ctx, struct nk_rect wbounds, void *data)
const char *window_name = "Moony";
if(nk_begin(ctx, window_name, wbounds, NK_WINDOW_NO_SCROLLBAR))
{
nk_window_set_bounds(ctx, window_name, wbounds);
const bool has_control_down = nk_input_is_key_down(in, NK_KEY_CTRL);
const bool has_shift_down = nk_input_is_key_down(in, NK_KEY_SHIFT);
const bool has_enter_pressed = nk_input_is_key_pressed(in, NK_KEY_ENTER);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment