1 2 3 4 5 6 7 8 9 10 11 12 13 14
// GL #[cfg(not(target_arch = "wasm32"))] pub mod ogl; #[cfg(not(target_arch = "wasm32"))] pub use ogl::*; // WEBGL #[cfg(target_arch = "wasm32")] pub mod wgl2; #[cfg(target_arch = "wasm32")] pub use wgl2::*;
1 2 3 4 5 6 7 8 9 10 11 12 13 14
// GL #[cfg(not(target_arch = "wasm32"))] pub mod ogl; #[cfg(not(target_arch = "wasm32"))] pub use ogl::*; // WEBGL #[cfg(target_arch = "wasm32")] pub mod wgl2; #[cfg(target_arch = "wasm32")] pub use wgl2::*;