GLState: Get rid of GL_TEXTURE_2D enable/disable

This bit was deprecated/removed in core GL.

There was only one place where this was used (flash tiles
in Tilemap), and since the full shader rewrite, it was
effectively a no-op anyway (flash shader doesn't sample texture).
This commit is contained in:
Jonas Kulla 2014-05-30 23:03:19 +02:00
parent 7b1f599dd6
commit 2cc2ebca31
3 changed files with 0 additions and 14 deletions

View file

@ -84,11 +84,6 @@ class GLScissorTest : public GLProperty<bool>
void apply(const bool &value);
};
class GLTexture2D : public GLProperty<bool>
{
void apply(const bool &value);
};
class GLBlendMode : public GLProperty<BlendType>
{
void apply(const BlendType &value);
@ -111,7 +106,6 @@ public:
GLClearColor clearColor;
GLScissorBox scissorBox;
GLScissorTest scissorTest;
GLTexture2D texture2D;
GLBlendMode blendMode;
GLViewport viewport;
GLProgram program;