mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Restructure SpriteBatch internal vertex data
This commit is contained in:
@@ -130,8 +130,12 @@ private:
|
||||
|
||||
CommonFormat vertex_format;
|
||||
size_t vertex_stride;
|
||||
|
||||
love::graphics::Buffer *array_buf;
|
||||
|
||||
StrongRef<love::graphics::Buffer> array_buf;
|
||||
uint8 *vertex_data;
|
||||
|
||||
int modified_sprite_first;
|
||||
int modified_sprite_last;
|
||||
|
||||
std::unordered_map<std::string, AttachedAttribute> attached_attributes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user