File tree Expand file tree Collapse file tree
crates/lambda-platform/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,3 +46,13 @@ pub mod internal {
4646 return viewport. viewport . clone ( ) ;
4747 }
4848}
49+
50+ #[ cfg( test) ]
51+ pub mod tests {
52+ #[ test]
53+ fn viewport_builder_defaults ( ) {
54+ let viewport_builder = super :: ViewPortBuilder :: new ( ) ;
55+ assert_eq ! ( viewport_builder. x, 0 ) ;
56+ assert_eq ! ( viewport_builder. y, 0 ) ;
57+ }
58+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ use winit::{
1919
2020/// Embedded module for exporting data/types from winit as minimally/controlled
2121/// as possible. The exports from this module are not guaranteed to be stable.
22- // TODO(ahlawat) = Remove all these except WindowEvent since we're abstracting them already? Double check
2322pub mod winit_exports {
2423 pub use winit:: {
2524 event:: {
Original file line number Diff line number Diff line change 1+ //! High level Rendering API designed for cross platform rendering and
2+ //! windowing.
3+
14pub mod command;
25pub mod pipeline;
36pub mod render_pass;
You can’t perform that action at this time.
0 commit comments