diff --git a/Cargo.lock b/Cargo.lock index 6af09aff..c8b28732 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1442,6 +1442,20 @@ dependencies = [ "thiserror", ] +[[package]] +name = "rbx_xml" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4bc65b70827519fdc4ab47416d1085b912f087fadab9ed415471b6daba635574" +dependencies = [ + "base64", + "log", + "rbx_dom_weak", + "rbx_reflection", + "rbx_reflection_database", + "xml-rs", +] + [[package]] name = "redox_syscall" version = "0.3.5" @@ -1658,6 +1672,7 @@ dependencies = [ "rbx_binary", "rbx_dom_weak", "rbx_reflection_database", + "rbx_xml", "wgpu", "winit", ] diff --git a/Cargo.toml b/Cargo.toml index c8e07764..0481dcfd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ pollster = "0.3.0" rbx_binary = "0.7.1" rbx_dom_weak = "2.5.0" rbx_reflection_database = "0.2.7" +rbx_xml = "0.13.1" wgpu = "0.17.0" winit = "0.28.6" diff --git a/src/main.rs b/src/main.rs index 1aaf2d9e..b6ca2c91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -847,6 +847,12 @@ impl framework::Example for GraphicsData { }else{ None } + }else if &first_8==b"