Fixed copy and paste in glfw_opengl3 demo
This commit is contained in:
parent
6e80e2a646
commit
d829ff1ef1
@ -378,7 +378,7 @@ nk_glfw3_init(struct nk_glfw* glfw, GLFWwindow *win, enum nk_glfw_init_state ini
|
||||
nk_init_default(&glfw->ctx, 0);
|
||||
glfw->ctx.clip.copy = nk_glfw3_clipboard_copy;
|
||||
glfw->ctx.clip.paste = nk_glfw3_clipboard_paste;
|
||||
glfw->ctx.clip.userdata = nk_handle_ptr(0);
|
||||
glfw->ctx.clip.userdata = nk_handle_ptr(&glfw);
|
||||
glfw->last_button_click = 0;
|
||||
nk_glfw3_device_create(glfw);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user