mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Add uniform cache in pixel effect. Remove a compiler warning and debug output.
This commit is contained in:
@@ -39,6 +39,9 @@ namespace opengl
|
||||
GLuint _program;
|
||||
std::string _code; // volatile and stuff
|
||||
|
||||
// uniform location buffer
|
||||
std::map<std::string, GLint> _uniforms;
|
||||
|
||||
// texture unit pool for setting images
|
||||
static std::map<std::string, GLint> _texture_unit_pool;
|
||||
static GLint _current_texture_unit;
|
||||
|
||||
Reference in New Issue
Block a user