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:
parent
743214d67b
commit
872440dc0a
@ -126,7 +126,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