From cc879a094e8b1ce34f5797f036baa47079593ab0 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Thu, 17 Nov 2022 21:05:26 +0000 Subject: [PATCH] Fix spellings in blend.rs --- agb/src/display/blend.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agb/src/display/blend.rs b/agb/src/display/blend.rs index 5275242b..f44c8ded 100644 --- a/agb/src/display/blend.rs +++ b/agb/src/display/blend.rs @@ -3,7 +3,7 @@ //! For now a description of how blending can be used is found on [the tonc page //! for graphic //! effects](https://www.coranac.com/tonc/text/gfx.htm#ssec-bld-gba). See the -//! [Blend] struct for all the functions to manage blend effects. You accquire +//! [Blend] struct for all the functions to manage blend effects. You acquire //! the Blend struct through the [Display][super::Display] struct. //! ```no_run //! # #![no_main] @@ -28,12 +28,12 @@ pub enum Layer { Bottom = 1, } -/// The different blend modes avaliable on the GBA +/// The different blend modes available on the GBA #[derive(Clone, Copy, Debug)] pub enum BlendMode { // No blending Off = 0, - // Aditive blending, use the [Blend::set_blend_weight] function to use this + // Additive blending, use the [Blend::set_blend_weight] function to use this Normal = 0b01, // Brighten, use the [Blend::set_fade] to use this FadeToWhite = 0b10, @@ -129,7 +129,7 @@ impl Blend { self } - /// Reset targers, blend weights, and fades + /// Reset targets, blend weights, and fades pub fn reset(&mut self) -> &mut Self { self.reset_targets().reset_fades().reset_weights() }