summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/value.hpp')
-rw-r--r--src/mbgl/gl/value.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/gl/value.hpp b/src/mbgl/gl/value.hpp
index 3586c26bda..eccd3e7373 100644
--- a/src/mbgl/gl/value.hpp
+++ b/src/mbgl/gl/value.hpp
@@ -21,7 +21,7 @@ struct ClearDepth {
struct ClearColor {
using Type = Color;
- static const constexpr Type Default = { 0, 0, 0, 0 };
+ static const Type Default;
static void Set(const Type&);
static Type Get();
};
@@ -142,7 +142,7 @@ constexpr bool operator!=(const BlendFunc::Type& a, const BlendFunc::Type& b) {
struct BlendColor {
using Type = Color;
- static const constexpr Type Default = { 0, 0, 0, 0 };
+ static const Type Default;
static void Set(const Type&);
static Type Get();
};