Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[macos] fixes #5956 remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
frederoni committed Aug 18, 2016
1 parent fcb134c commit 2217e05
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions platform/macos/src/NSColor+MGLAdditions.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ @implementation NSColor (MGLAdditions)

- (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];
Expand Down

0 comments on commit 2217e05

Please sign in to comment.