new RGBA_LOGICOP_ENABLED() macro
This commit is contained in:
@@ -317,4 +317,12 @@ do { \
|
||||
)
|
||||
|
||||
|
||||
/**
|
||||
* Is RGBA LogicOp enabled?
|
||||
*/
|
||||
#define RGBA_LOGICOP_ENABLED(CTX) \
|
||||
((CTX)->Color.ColorLogicOpEnabled || \
|
||||
((CTX)->Color.BlendEnabled && (CTX)->Color.BlendEquationRGB == GL_LOGIC_OP))
|
||||
|
||||
|
||||
#endif /* CONTEXT_H */
|
||||
|
Reference in New Issue
Block a user