Manually keep track of bound textures, so we don't have to poll each frame

Patch submitted by slime73.
This commit is contained in:
Bart van Strien
2012-01-10 15:36:18 +01:00
parent 51d4553b7d
commit 2ac4a9e6d0
10 changed files with 33 additions and 26 deletions
+2
View File
@@ -31,6 +31,7 @@
#include <font/Rasterizer.h>
#include <graphics/Image.h>
#include "OpenGL.h"
#include "GLee.h"
namespace love
@@ -53,6 +54,7 @@ namespace opengl
struct Glyph
{
GLuint list;
GLuint texture;
int spacing;
};