From 4bbf9770bc08262dba7c94d722b4523f39fe7af2 Mon Sep 17 00:00:00 2001 From: Jay Oster Date: Sun, 27 Oct 2019 20:34:48 -0700 Subject: [PATCH] Document accessing `wgpu` through pixels --- src/lib.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index aa38d15..1d89cc6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -85,8 +85,7 @@ impl SurfaceTexture { /// # Examples /// /// ```no_run - /// use pixels::SurfaceTexture; - /// use wgpu::Surface; + /// use pixels::{wgpu::Surface, SurfaceTexture}; /// use winit::event_loop::EventLoop; /// use winit::window::Window; /// @@ -354,7 +353,7 @@ impl PixelsBuilder { /// /// ```no_run /// use pixels::{BoxedRenderPass, Device, PixelsBuilder, Queue, RenderPass}; - /// use wgpu::{Extent3d, TextureView}; + /// use pixels::wgpu::{Extent3d, TextureView}; /// /// struct MyRenderPass { /// device: Device,