Document accessing wgpu through pixels

This commit is contained in:
Jay Oster 2019-10-27 20:34:48 -07:00
parent b7e751b507
commit 4bbf9770bc

View file

@ -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,