summaryrefslogtreecommitdiff
path: root/client/src/renderer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/renderer.rs')
-rw-r--r--client/src/renderer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/renderer.rs b/client/src/renderer.rs
index b21c139..cc44446 100644
--- a/client/src/renderer.rs
+++ b/client/src/renderer.rs
@@ -1,4 +1,5 @@
use anyhow::{Result, anyhow};
+use log::info;
use pollster::FutureExt;
use wgpu::{
Backends, BindGroup, BindGroupDescriptor, BindGroupLayoutDescriptor, BlendState, Color,
@@ -22,6 +23,7 @@ pub struct Renderer<'a> {
}
impl<'a> Renderer<'a> {
pub fn new(window: &'a Window) -> Result<Self> {
+ info!("wgpu init");
let instance = Instance::new(InstanceDescriptor {
backends: Backends::all(),
..Default::default()