summaryrefslogtreecommitdiffstats
path: root/graphics/src/compositor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/src/compositor.rs')
-rw-r--r--graphics/src/compositor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/compositor.rs b/graphics/src/compositor.rs
index 32111008..e0b1e20f 100644
--- a/graphics/src/compositor.rs
+++ b/graphics/src/compositor.rs
@@ -64,9 +64,9 @@ pub trait Compositor: Sized {
) -> Result<(), SurfaceError>;
/// Screenshots the current [`Renderer`] primitives to an offscreen texture, and returns the bytes of
- /// the texture ordered as `RGBA` in the sRGB color space.
+ /// the texture ordered as `RGBA` in the `sRGB` color space.
///
- /// [`Renderer`]: Self::Renderer;
+ /// [`Renderer`]: Self::Renderer
fn screenshot<T: AsRef<str>>(
&mut self,
renderer: &mut Self::Renderer,