diff options
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/gl/gl_values.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/gl/gl_values.hpp b/include/mbgl/gl/gl_values.hpp index 03ae46a60e..34932dd408 100644 --- a/include/mbgl/gl/gl_values.hpp +++ b/include/mbgl/gl/gl_values.hpp @@ -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; |