Skip to content

Commit

Permalink
Improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Sep 12, 2024
1 parent a1ceea5 commit b49a95b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ private static boolean isGooglePlayServicesAvailable(Context context) {
}

private static boolean isGoogleMapsSdkAvailable(Context context) {
// The Google Maps SDK for Android requires OpenGL ES version 2.
// See https://developers.google.com/maps/documentation/android-sdk/config
/*
* The Google Maps SDK for Android requires OpenGL ES version 2.
* See: https://developers.google.com/maps/documentation/android-sdk/config
*/
return OpenGLVersionChecker.isOpenGLv2Supported(context);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ public MapboxMapConfigurator() {
}

@Override public boolean isAvailable(Context context) {
// The Mapbox SDK for Android requires OpenGL ES version 3.
// See https://github.com/mapbox/mapbox-maps-android/blob/main/CHANGELOG.md#1100-november-29-2023
/*
* The Mapbox SDK for Android requires OpenGL ES version 3.
* See: https://github.com/mapbox/mapbox-maps-android/blob/main/CHANGELOG.md#1100-november-29-2023
*/
return OpenGLVersionChecker.isOpenGLv3Supported(context);
}

Expand Down

0 comments on commit b49a95b

Please sign in to comment.