Update nuklear_sdl_gl2.h
This commit is contained in:
parent
1d03d421c5
commit
751d2bfbff
@ -217,6 +217,7 @@ nk_sdl_init(SDL_Window *win)
|
||||
sdl.ctx.clip.paste = nk_sdl_clipboard_paste;
|
||||
sdl.ctx.clip.userdata = nk_handle_ptr(0);
|
||||
nk_buffer_init_default(&sdl.ogl.cmds);
|
||||
sdl.time_of_last_frame = ((float)SDL_GetTicks64()) / 1000;
|
||||
return &sdl.ctx;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user