Allow QSurfaceFormat::NoProfile in OpenGL detection.
This commit is contained in:
parent
52718aa5db
commit
5b521d63a4
1 changed files with 1 additions and 2 deletions
|
|
@ -131,8 +131,7 @@ Capabilities CheckCapabilities(QWidget *widget) {
|
||||||
if (supported.renderableType() == QSurfaceFormat::OpenGLES) {
|
if (supported.renderableType() == QSurfaceFormat::OpenGLES) {
|
||||||
LOG_ONCE(("OpenGL Profile: OpenGLES."));
|
LOG_ONCE(("OpenGL Profile: OpenGLES."));
|
||||||
} else {
|
} else {
|
||||||
LOG_ONCE(("OpenGL Profile: None."));
|
LOG_ONCE(("OpenGL Profile: NoProfile."));
|
||||||
return {};
|
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case QSurfaceFormat::CoreProfile: {
|
case QSurfaceFormat::CoreProfile: {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue