[core] Added missing BlendFunc operator

This commit is contained in:
Bruno de Oliveira Abinader
2016-06-18 12:03:19 +03:00
parent 76fc07c606
commit 9038d66af6

View File

@@ -210,6 +210,10 @@ struct BlendFunc {
}
};
constexpr bool operator!=(const BlendFunc::Type& a, const BlendFunc::Type& b) {
return a.sfactor != b.sfactor || a.dfactor != b.dfactor;
}
struct Program {
using Type = GLuint;
static const Type Default;