From 15f0e4109b3375a35dfe1cbf4723554483c93d62 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sat, 15 Feb 2020 13:50:47 -0400 Subject: [PATCH] Fix a typo in a comment --- src/modules/graphics/opengl/StreamBuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/graphics/opengl/StreamBuffer.cpp b/src/modules/graphics/opengl/StreamBuffer.cpp index 8ea3a39a8..10eed951e 100644 --- a/src/modules/graphics/opengl/StreamBuffer.cpp +++ b/src/modules/graphics/opengl/StreamBuffer.cpp @@ -505,9 +505,9 @@ love::graphics::StreamBuffer *CreateStreamBuffer(BufferType mode, size_t size) { return new StreamBufferPinnedMemory(mode, size); } - catch (love::Exception &e) + catch (love::Exception &) { - // According to the spec, oinned memory can fail if the RAM + // According to the spec, pinned memory can fail if the RAM // allocation can't be mapped to the GPU's address space. // This seems to happen in practice on Mesa + amdgpu: // https://bitbucket.org/rude/love/issues/1540