Update nuklear_sdl_gles2.h

This commit is contained in:
PROP 65 2024-08-29 03:16:40 +00:00 committed by GitHub
parent 49fd23e13c
commit f180a5c423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,6 +326,7 @@ nk_sdl_init(SDL_Window *win)
sdl.ctx.clip.paste = nk_sdl_clipboard_paste;
sdl.ctx.clip.userdata = nk_handle_ptr(0);
nk_sdl_device_create();
sdl.time_of_last_frame = ((float)SDL_GetTicks64()) / 1000;
return &sdl.ctx;
}