add missing "enable" fields to opengl features
this ensures that we complain if desktop gl or gles2 is explicitly requested but not available. Change-Id: Iad068ef34cdf9353cb483d4dc667ddd85ded740d Reviewed-by: Lars Knoll <lars.knoll@qt.io>
This commit is contained in:
parent
e9d822943a
commit
8cbf2aee75
@ -2022,6 +2022,7 @@
|
||||
},
|
||||
"opengles2": {
|
||||
"description": "OpenGL ES 2.0",
|
||||
"enable": "input.opengl == 'es2'",
|
||||
"disable": "input.opengl == 'desktop' || input.opengl == 'no'",
|
||||
"condition": "!features.opengl-desktop && tests.opengles2",
|
||||
"output": [
|
||||
@ -2043,6 +2044,7 @@
|
||||
},
|
||||
"opengl-desktop": {
|
||||
"description": "Desktop OpenGL",
|
||||
"enable": "input.opengl == 'desktop'",
|
||||
"disable": "input.opengl == 'es2' || input.opengl == 'no'",
|
||||
"condition": "(config.win32 && tests.opengl-mingw) || (!config.win32 && tests.opengl-desktop)",
|
||||
"output": [ { "type": "library", "name": "OPENGL", "test": "opengl-desktop", "condition": "!config.win32" } ]
|
||||
|
Loading…
Reference in New Issue
Block a user