Browse Source

Fix a typo in a comment

Alex Szpakowski 5 years ago
parent
commit
15f0e4109b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/graphics/opengl/StreamBuffer.cpp

+ 2 - 2
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