frametime fix
This commit is contained in:
parent
d26d71ec91
commit
a220e40d13
2 changed files with 15 additions and 0 deletions
|
|
@ -378,6 +378,7 @@ void WindowWayland::QueueRender() {
|
|||
}
|
||||
|
||||
void WindowWayland::StartUpdate() {
|
||||
lastFrameBegin = std::chrono::high_resolution_clock::now();
|
||||
cb = wl_surface_frame(surface);
|
||||
wl_callback_add_listener(cb, &wl_callback_listener, this);
|
||||
updating = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue