We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b533e5 commit 5894040Copy full SHA for 5894040
examples/qtfb/rust/Cargo.toml
@@ -4,4 +4,4 @@ version = "0.1.0"
4
edition = "2021"
5
6
[dependencies]
7
-qtfb-client = { path = "../../clients/rust" }
+qtfb-client = { path = "../../../backends/qtfb-clients/rust" }
examples/qtfb/rust/src/main.rs
@@ -3,7 +3,8 @@ use qtfb_client::ClientConnection;
3
fn main() {
let client = ClientConnection::new(
qtfb_client::constants::DEFAULT_SCENE,
- qtfb_client::constants::FBFMT_RMPP_RGB888
+ qtfb_client::constants::FBFMT_RMPP_RGB888,
+ None
8
).unwrap();
9
let file_contents = std::fs::read("a.raw").unwrap();
10
client.shm[0..file_contents.len()].copy_from_slice(&file_contents);
0 commit comments