Commit b2025395 authored by Sharaf Zaman's avatar Sharaf Zaman

Prevents crash on android x86 emulators

parent e62a4e28
......@@ -356,7 +356,7 @@ QSurfaceFormat generateSurfaceFormat(QSurfaceFormat::RenderableType renderer,
#ifdef Q_OS_MACOS
format.setVersion(3, 2);
format.setProfile(QSurfaceFormat::CoreProfile);
#else
#elif !defined(Q_OS_ANDROID)
// XXX This can be removed once we move to Qt5.7
format.setVersion(3, 0);
format.setProfile(QSurfaceFormat::CompatibilityProfile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment