GLState: Remove 'BlendNone' mode in favor of disabling blending alltogether
This commit is contained in:
parent
7ce747d34d
commit
27b7815f52
6 changed files with 30 additions and 23 deletions
src
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue