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) {
|
||||
LOG_ONCE(("OpenGL Profile: OpenGLES."));
|
||||
} else {
|
||||
LOG_ONCE(("OpenGL Profile: None."));
|
||||
return {};
|
||||
LOG_ONCE(("OpenGL Profile: NoProfile."));
|
||||
}
|
||||
} break;
|
||||
case QSurfaceFormat::CoreProfile: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue