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> (cherry picked from commit 4b4873359d18c769bbcb3396e5e0803fdaceb45d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
e132f55acb
commit
63d4a4ef91
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user