Blender's GPU Accelerated UI, Decoupled from it's original codebase. Supports Rust, Python, JS, React, C & C++. Twice as good as GPUI
window: convert vsync to c_int with From
nusaturnc4583a88d910
diff --git a/bindings/rust/blenderui/src/window.rs b/bindings/rust/blenderui/src/window.rsindex e1fb2d2..a59814b 100644--- a/bindings/rust/blenderui/src/window.rs+++ b/bindings/rust/blenderui/src/window.rs@@ -588,7 +588,7 @@ impl App {Some(n) if w.animation_frame => {w.animation_frame = false;w.frame_pending = true;- unsafe { sys::BK_window_request_frame(n, w.vsync as c_int) };+ unsafe { sys::BK_window_request_frame(n, c_int::from(w.vsync)) };}// the requested frame rebuilds the window at its paced timeSome(n) if !w.timer_pending && !w.frame_pending => {