]> OzVa Git service - rust_fft/commitdiff
Fixed backend issue by passing show_image backend
authorMax Value <greenwoodw50@gmail.com>
Sat, 25 Oct 2025 00:24:44 +0000 (01:24 +0100)
committerMax Value <greenwoodw50@gmail.com>
Sat, 25 Oct 2025 00:24:44 +0000 (01:24 +0100)
build.rs

index 35e6a840fd3f812dc96d80973beae02a6d2e6631..b65310586f7fe728be8455e66163c7f7033c9c4b 100644 (file)
--- 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(?)
 }