mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Cleaned up the Canvas code.
--HG-- branch : minor
This commit is contained in:
@@ -148,6 +148,7 @@ public:
|
||||
{
|
||||
size_t textureMemory;
|
||||
int drawCalls;
|
||||
int framebufferBinds;
|
||||
} stats;
|
||||
|
||||
OpenGL();
|
||||
@@ -250,6 +251,11 @@ public:
|
||||
**/
|
||||
float getPointSize() const;
|
||||
|
||||
/**
|
||||
* Binds a Framebuffer Object to the specified target.
|
||||
**/
|
||||
void bindFramebuffer(GLenum target, GLuint framebuffer);
|
||||
|
||||
/**
|
||||
* This will usually be 0 (system drawable), but some platforms require a
|
||||
* non-zero FBO for rendering.
|
||||
|
||||
Reference in New Issue
Block a user