Fix ContextInfo example crashing on Android

Disabled desktop OpenGL renderer on android

Task-number: QTBUG-91627
Change-Id: I61ec7cc768d46c368dc0187714bd0bd085257a67
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Jani Korteniemi 2022-02-03 17:39:04 +01:00
parent 743214d67b
commit 872440dc0a

View File

@ -126,7 +126,9 @@ struct Renderable {
static struct Renderable renderables[] = {
{ "default", QSurfaceFormat::DefaultRenderableType },
#ifndef Q_OS_ANDROID
{ "OpenGL", QSurfaceFormat::OpenGL },
#endif
{ "OpenGL ES", QSurfaceFormat::OpenGLES }
};