Fix ContextInfo example crashing on Android
Disabled desktop OpenGL renderer on android Task-number: QTBUG-91627 Pick-to: 6.2 6.4 6.5 Change-Id: I61ec7cc768d46c368dc0187714bd0bd085257a67 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
parent
6ff4c3d787
commit
4b4873359d
@ -81,7 +81,9 @@ struct Renderable {
|
|||||||
|
|
||||||
static struct Renderable renderables[] = {
|
static struct Renderable renderables[] = {
|
||||||
{ "default", QSurfaceFormat::DefaultRenderableType },
|
{ "default", QSurfaceFormat::DefaultRenderableType },
|
||||||
|
#ifndef Q_OS_ANDROID
|
||||||
{ "OpenGL", QSurfaceFormat::OpenGL },
|
{ "OpenGL", QSurfaceFormat::OpenGL },
|
||||||
|
#endif
|
||||||
{ "OpenGL ES", QSurfaceFormat::OpenGLES }
|
{ "OpenGL ES", QSurfaceFormat::OpenGLES }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user