mirror of
https://github.com/love2d/love.git
synced 2026-08-17 02:58:31 +02:00
Added locking to SpriteBatch, and conf.lua.
This commit is contained in:
@@ -68,6 +68,9 @@ namespace opengl
|
||||
int usage;
|
||||
int gl_usage;
|
||||
|
||||
// If the buffer is locked, this pointer is nonzero.
|
||||
vertex * lockp;
|
||||
|
||||
public:
|
||||
|
||||
enum UsageHint
|
||||
@@ -85,6 +88,9 @@ namespace opengl
|
||||
//void addf(float x, float y, float a, float sx, float sy, float ox, float oy, Frame * frame);
|
||||
void clear();
|
||||
|
||||
void * lock();
|
||||
void unlock();
|
||||
|
||||
// Implements Drawable.
|
||||
void draw(float x, float y, float angle, float sx, float sy, float ox, float oy) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user