mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Clean up some obsolete internal graphics code
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user