mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Manually keep track of bound textures, so we don't have to poll each frame
Patch submitted by slime73.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user