summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp')
-rw-r--r--src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
index c7d5d3ee..dd25c99e 100644
--- a/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
+++ b/src/plugins/geoservices/mapboxgl/qgeoserviceproviderpluginmapboxgl.cpp
@@ -65,15 +65,6 @@ QGeoCodingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createGeocodingMana
QGeoMappingManagerEngine *QGeoServiceProviderFactoryMapboxGL::createMappingManagerEngine(
const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString) const
{
-#ifdef Q_OS_WIN
- if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES) {
- qWarning("The Mapbox GL plugin only supports OpenGL ES on Windows. \
- Try setting the environment variable QT_OPENGL to 'angle'.");
-
- return 0;
- }
-#endif
-
return new QGeoMappingManagerEngineMapboxGL(parameters, error, errorString);
}