Don't spam with old drivers popup on android

This commit is contained in:
Deve 2018-03-02 22:34:20 +01:00
parent 729e508027
commit 41ba4395d9

View File

@ -1684,6 +1684,7 @@ int main(int argc, char *argv[] )
} }
else if (!CVS->isGLSL()) else if (!CVS->isGLSL())
{ {
#if !defined(ANDROID)
if (UserConfigParams::m_old_driver_popup) if (UserConfigParams::m_old_driver_popup)
{ {
#ifdef USE_GLES2 #ifdef USE_GLES2
@ -1700,6 +1701,7 @@ int main(int argc, char *argv[] )
/*from queue*/ true); /*from queue*/ true);
GUIEngine::DialogQueue::get()->pushDialog(dialog); GUIEngine::DialogQueue::get()->pushDialog(dialog);
} }
#endif
Log::warn("OpenGL", "OpenGL version is too old!"); Log::warn("OpenGL", "OpenGL version is too old!");
} }
} }