This commit is contained in:
Kovid Goyal 2026-08-04 10:00:53 +05:30
parent f64d460bfa
commit 4b0e6bb49c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -2025,8 +2025,8 @@ run_custom_end_shader(OSWindow *os_window, float sx, float sy, monotonic_t now)
#undef FILL_COLOR
d->viewport_width = (uint32_t)os_window->viewport_width;
d->viewport_height = (uint32_t)os_window->viewport_height;
d->timestamp = ((float)monotonic_t_to_ms(now)) / 1e3;
d->last_rendered_at = ((float)monotonic_t_to_ms(os_window->last_rendered_at)) / 1e3;
d->timestamp = ((float)monotonic_t_to_ms(now)) / 1e3f;
d->last_rendered_at = ((float)monotonic_t_to_ms(os_window->last_rendered_at)) / 1e3f;
unmap_vao_buffer(custom_end_vao_idx, 0);
bind_vao_uniform_buffer(custom_end_vao_idx, 0, CUSTOM_END_DATA_BINDING_POINT);