Fixed rendering to multiple canvases, removed some redundant OpenGL calls when switching between canvases

This commit is contained in:
Alex Szpakowski
2014-01-30 21:09:13 -04:00
parent 2a4d47e614
commit 40242689b1
4 changed files with 25 additions and 20 deletions
@@ -135,8 +135,6 @@ private:
// The next free element.
int next;
Vertex sprite[4];
// Current color. This color, if present, will be applied to the next
// added sprite.
Color *color;