mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
[rs] Fix docs describing how to create a surface
This commit is contained in:
1 parent
05f54470ef
commit
8b6c09722e
1 file changed
+1
-1
+1
-1
@@ -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