From 8d71addcaa76f7ebbb7f2eaa1c2cc1609b96bd30 Mon Sep 17 00:00:00 2001 From: Max Value Date: Sat, 25 Oct 2025 01:24:44 +0100 Subject: [PATCH] Fixed backend issue by passing show_image backend --- build.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.rs b/build.rs index 35e6a84..b653105 100644 --- a/build.rs +++ b/build.rs @@ -9,4 +9,6 @@ fn main() { .compile("perspective.a"); println!("cargo::rustc-flags=-lopencv_core -lopencv_highgui -lopencv_xfeatures2d -lopencv_calib3d -lopencv_videoio -lopencv_imgcodecs -lopencv_imgproc -lopencv_features2d"); + + println!("cargo:rustc-env=WGPU_BACKEND=gl") // fix show_image bug(?) } -- 2.39.2