summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 3078f49..6134893 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,9 +6,15 @@ mod render;
fn main() {
println!("Warming up...");
- let mut ctx = ctx::Ctx::new_empty();
+ let mut ctx = ctx::Ctx::new((), ctx::Basic);
+
+ let mut base = vec![];
+ for i in 0..16 {
+ base.push(i);
+ }
+
let quad: quad::Node<u8, u8> = quad::Node::new_from_square(
- &mut ctx, vec![0xFF;64],
+ &mut ctx, base,
);
// render::graphics();