summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/macos/src/NSColor+MGLAdditions.mm4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/macos/src/NSColor+MGLAdditions.mm b/platform/macos/src/NSColor+MGLAdditions.mm
index fc9ef8dafc..a75dc488fd 100644
--- a/platform/macos/src/NSColor+MGLAdditions.mm
+++ b/platform/macos/src/NSColor+MGLAdditions.mm
@@ -4,10 +4,6 @@
- (mbgl::Color)mbgl_color
{
- if (!self)
- {
- return { 0, 0, 0, 0 };
- }
CGFloat r, g, b, a;
[[self colorUsingColorSpaceName:NSCalibratedRGBColorSpace] getRed:&r green:&g blue:&b alpha:&a];