Clean up some obsolete internal graphics code

This commit is contained in:
Alex Szpakowski
2021-01-17 16:50:44 -04:00
parent 4244e01a35
commit 2e2ebe95cd
5 changed files with 10 additions and 16 deletions
+4
View File
@@ -80,6 +80,10 @@ Buffer::Buffer(love::graphics::Graphics *gfx, const Settings &settings, const st
mapType = BUFFERTYPE_INDEX;
else if (typeFlags & TYPEFLAG_SHADER_STORAGE)
mapType = BUFFERTYPE_SHADER_STORAGE;
else if (typeFlags & TYPEFLAG_COPY_SOURCE)
mapType = BUFFERTYPE_COPY_SOURCE;
else if (typeFlags & TYPEFLAG_COPY_DEST)
mapType = BUFFERTYPE_COPY_DEST;
target = OpenGL::getGLBufferType(mapType);