mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Added 'VertexBuffer' abstraction. SpriteBatches are now always supported.
Also improved memory usage in SpriteBatch. (No need to retain full copy of sprites in memory. Can read that data back later to save data from OpenGL context destruction).
This commit is contained in:
@@ -774,10 +774,6 @@ namespace opengl
|
||||
if (!PixelEffect::isSupported())
|
||||
supported = false;
|
||||
break;
|
||||
case Graphics::SUPPORT_SPRITEBATCHES:
|
||||
if (!SpriteBatch::isSupported())
|
||||
supported = false;
|
||||
break;
|
||||
default:
|
||||
supported = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user