From 75eef3be9680dbe3300186b06e19eac7f9dfab4b Mon Sep 17 00:00:00 2001 From: Pavel Roskin <1317472+proski@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:20:58 -0700 Subject: Fix typos --- alacritty/src/renderer/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alacritty/src/renderer/mod.rs') diff --git a/alacritty/src/renderer/mod.rs b/alacritty/src/renderer/mod.rs index 87ccf2f6..bd3c0015 100644 --- a/alacritty/src/renderer/mod.rs +++ b/alacritty/src/renderer/mod.rs @@ -92,7 +92,7 @@ impl Renderer { /// supported OpenGL version. pub fn new( context: &PossiblyCurrentContext, - renderer_prefernce: Option, + renderer_preference: Option, ) -> Result { // We need to load OpenGL functions once per instance, but only after we make our context // current due to WGL limitations. @@ -119,7 +119,7 @@ impl Renderer { let is_gles_context = matches!(context.context_api(), ContextApi::Gles(_)); // Use the config option to enforce a particular renderer configuration. - let (use_glsl3, allow_dsb) = match renderer_prefernce { + let (use_glsl3, allow_dsb) = match renderer_preference { Some(RendererPreference::Glsl3) => (true, true), Some(RendererPreference::Gles2) => (false, true), Some(RendererPreference::Gles2Pure) => (false, false), @@ -288,7 +288,7 @@ struct GlExtensions; impl GlExtensions { /// Check if the given `extension` is supported. /// - /// This function will lazyly load OpenGL extensions. + /// This function will lazily load OpenGL extensions. fn contains(extension: &str) -> bool { static OPENGL_EXTENSIONS: OnceCell> = OnceCell::new(); -- cgit