From 880a1f521c040373037db6bd8e751a6d3d8ff020 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Tue, 6 Aug 2024 10:17:03 +0200 Subject: [PATCH] Run `typos` --- report/Makefile | 2 +- src/main.rs | 2 +- src/util.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/report/Makefile b/report/Makefile index 142691e..317757a 100644 --- a/report/Makefile +++ b/report/Makefile @@ -1,7 +1,7 @@ PANDOC_ARGS += --verbose PANDOC_ARGS += --highlight-style=pygments # the default theme -# Optional filters, needs be installed seperately: +# Optional filters, needs be installed separately: #PANDOC_ARGS += --filter pandoc-include #PANDOC_ARGS += --filter pandoc-include-code diff --git a/src/main.rs b/src/main.rs index edc50c0..8617821 100644 --- a/src/main.rs +++ b/src/main.rs @@ -212,7 +212,7 @@ fn main() { unsafe { // Clear the color and depth buffers - gl::ClearColor(0.035, 0.046, 0.078, 1.0); // night sky, full opacity + gl::ClearColor(0.035, 0.046, 0.078, 1.0); // night sky gl::Clear(gl::COLOR_BUFFER_BIT | gl::DEPTH_BUFFER_BIT); diff --git a/src/util.rs b/src/util.rs index 79b2529..7684321 100644 --- a/src/util.rs +++ b/src/util.rs @@ -5,7 +5,7 @@ pub unsafe fn get_gl_string(name: gl::types::GLenum) -> String { std::ffi::CStr::from_ptr(gl::GetString(name) as *mut libc::c_char).to_string_lossy().to_string() } -// Debug callback to panic upon enountering any OpenGL error +// Debug callback to panic upon encountering any OpenGL error pub extern "system" fn debug_callback( source: u32, e_type: u32, id: u32, severity: u32, _length: i32,