Alex Szpakowski пре 5 година
родитељ
комит
15f0e4109b
1 измењених фајлова са 2 додато и 2 уклоњено
  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);
 					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.
 					// allocation can't be mapped to the GPU's address space.
 					// This seems to happen in practice on Mesa + amdgpu:
 					// This seems to happen in practice on Mesa + amdgpu:
 					// https://bitbucket.org/rude/love/issues/1540
 					// https://bitbucket.org/rude/love/issues/1540