diff --git a/Handheld/main.cpp b/Handheld/main.cpp index 6cf56d62..270b646f 100644 --- a/Handheld/main.cpp +++ b/Handheld/main.cpp @@ -1,3 +1,4 @@ + /******************************************************************************* * Copyright 2012-2018 Esri * @@ -109,11 +110,6 @@ int main(int argc, char *argv[]) #endif QSettings::setDefaultFormat(kSettingsFormat); -#ifdef Q_OS_WIN - // Force usage of OpenGL ES through ANGLE on Windows - QCoreApplication::setAttribute(Qt::AA_UseOpenGLES); -#endif - // Register the map view for QML qmlRegisterType("Esri.Handheld", 1, 0, "SceneView"); qRegisterMetaType("PopupManager*"); @@ -145,7 +141,7 @@ int main(int argc, char *argv[]) // Register Toolkit Component Types ArcGISRuntimeToolkit::registerToolkitTypes(); - // Intialize application view + // Initialize application view QQuickView view; view.setResizeMode(QQuickView::SizeRootObjectToView); diff --git a/Vehicle/main.cpp b/Vehicle/main.cpp index 23cf9ed8..8387694f 100644 --- a/Vehicle/main.cpp +++ b/Vehicle/main.cpp @@ -1,3 +1,4 @@ + /******************************************************************************* * Copyright 2012-2018 Esri * @@ -109,11 +110,6 @@ int main(int argc, char *argv[]) #endif QSettings::setDefaultFormat(kSettingsFormat); -#ifdef Q_OS_WIN - // Force usage of OpenGL ES through ANGLE on Windows - QCoreApplication::setAttribute(Qt::AA_UseOpenGLES); -#endif - // Register the map view for QML qmlRegisterType("Esri.Vehicle", 1, 0, "SceneView"); qRegisterMetaType("PopupManager*"); @@ -145,7 +141,7 @@ int main(int argc, char *argv[]) // Register Toolkit Component Types ArcGISRuntimeToolkit::registerToolkitTypes(); - // Intialize application view + // Initialize application view QQuickView view; view.setResizeMode(QQuickView::SizeRootObjectToView);