diff options
author | Young Hahn <young@mapbox.com> | 2016-06-15 11:38:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 11:38:22 -0400 |
commit | 24b66bc8cdd40a52e08d198c063daa3e1f6be92a (patch) | |
tree | 6d98a5e1216a83f7d6d4c78422c8306d4a4cb157 /platform/android | |
parent | fe64238b4cd5a7da403a4f29a62b14234ecba569 (diff) | |
download | qtlocation-mapboxgl-24b66bc8cdd40a52e08d198c063daa3e1f6be92a.tar.gz |
Color class (#5361)
* Color class
* Switch to list initialization
Diffstat (limited to 'platform/android')
-rwxr-xr-x | platform/android/src/jni.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/src/jni.cpp b/platform/android/src/jni.cpp index 077f574469..a790064d53 100755 --- a/platform/android/src/jni.cpp +++ b/platform/android/src/jni.cpp @@ -711,7 +711,7 @@ static mbgl::Color toColor(jint color) { float g = (color >> 8) & 0xFF; float b = (color) & 0xFF; float a = (color >> 24) & 0xFF; - return {{ r / 255.0f, g / 255.0f, b / 255.0f, a / 255.0f }}; + return { r / 255.0f, g / 255.0f, b / 255.0f, a / 255.0f }; } template <class Geometry> |