GLState: Remove 'BlendNone' mode in favor of disabling blending alltogether

This commit is contained in:
Jonas Kulla 2014-07-20 13:17:12 +02:00
parent 7ce747d34d
commit 27b7815f52
6 changed files with 30 additions and 23 deletions

View file

@ -95,6 +95,11 @@ class GLBlendMode : public GLProperty<BlendType>
void apply(const BlendType &value);
};
class GLBlend : public GLProperty<bool>
{
void apply(const bool &value);
};
class GLViewport : public GLProperty<IntRect>
{
void apply(const IntRect &value);
@ -113,6 +118,7 @@ public:
GLScissorBox scissorBox;
GLScissorTest scissorTest;
GLBlendMode blendMode;
GLBlend blend;
GLViewport viewport;
GLProgram program;