yshui / index_camera_passthrough

Experimental Valve Index camera passthrough for Linux
MIT License
46 stars 1 forks source link

Missing file: splash.png #3

Closed ClearlyClaire closed 2 years ago

ClearlyClaire commented 2 years ago

It seems a file named splash.png should be included in the source, but is not.

error: couldn't read /home/claire/GIT/index_camera_passthrough/splash.png: No such file or directory (os error 2)
  --> src/main.rs:50:30
   |
50 | static SPLASH_IMAGE: &[u8] = include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/splash.png"));
   |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `index_camera_passthrough` due to previous error

Creating a blank 1920×960 png works fine.

yshui commented 2 years ago

Thanks for reporting! I forgot to commit it and it should've been upload now!