mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 23:17:10 +02:00
Try to fix android crash
This commit is contained in:
parent
7ca8b54039
commit
36edb939c3
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
auto format = getDefaultOpenGLSurfaceFormat();
|
||||
#ifdef Q_OS_MAC
|
||||
auto format = getDefaultOpenGLSurfaceFormat();
|
||||
// Deal with some weirdness in the chromium context sharing on Mac.
|
||||
// The primary share context needs to be 3.2, so that the Chromium will
|
||||
// succeed in it's creation of it's command stub contexts.
|
||||
|
@ -51,8 +51,8 @@ int main(int argc, const char* argv[]) {
|
|||
// idea why.
|
||||
qputenv("QT_ENABLE_GLYPH_CACHE_WORKAROUND", "true");
|
||||
// https://i.kym-cdn.com/entries/icons/original/000/008/342/ihave.jpg
|
||||
#endif
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
#endif
|
||||
setupHifiApplication(BuildInfo::INTERFACE_NAME);
|
||||
|
||||
QStringList arguments;
|
||||
|
|
Loading…
Reference in a new issue