diff --git a/src/main.rs b/src/main.rs index e448a7e..ec627ba 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,7 +4,10 @@ mod renderer; use std::time::Instant; use anyhow::Result; -use crawl::winit::event::{Event, WindowEvent}; +use crawl::{ + wgpu, + winit::event::{Event, WindowEvent}, +}; use renderer::VoxelRenderer; fn main() -> Result<()> { @@ -13,6 +16,7 @@ fn main() -> Result<()> { crawl::ContextBuilder::new() .with_title("BEAVER") .with_vsync(false) + .with_features(wgpu::Features::default() | wgpu::Features::TIMESTAMP_QUERY) .build(), )?;