mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Merge #92
92: Fix docs describing how to create a surface r=grovesNL a=parasyte I noticed this issue as I was combing the source. Co-authored-by: Jay Oster <jay@kodewerx.org>
This commit is contained in:
@@ -131,7 +131,7 @@ pub struct Sampler {
|
||||
/// A handle to a presentable surface.
|
||||
///
|
||||
/// A `Surface` represents a platform-specific surface (e.g. a window) to which rendered images may
|
||||
/// be presented. A `Surface` may be created with [`Instance::create_surface`].
|
||||
/// be presented. A `Surface` may be created with [`Surface::create`].
|
||||
#[derive(Debug)]
|
||||
pub struct Surface {
|
||||
id: wgn::SurfaceId,
|
||||
|
||||
Reference in New Issue
Block a user