Cleaned up the Canvas code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-02-26 17:06:09 -04:00
parent a66a7b7ce9
commit f83c2db471
5 changed files with 205 additions and 524 deletions
+6
View File
@@ -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.