summaryrefslogtreecommitdiffstats
path: root/examples/opengl/legacy/samplebuffers/samplebuffers.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/legacy/samplebuffers/samplebuffers.pro')
-rw-r--r--examples/opengl/legacy/samplebuffers/samplebuffers.pro6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/opengl/legacy/samplebuffers/samplebuffers.pro b/examples/opengl/legacy/samplebuffers/samplebuffers.pro
index 9b471243f3..3719f5039d 100644
--- a/examples/opengl/legacy/samplebuffers/samplebuffers.pro
+++ b/examples/opengl/legacy/samplebuffers/samplebuffers.pro
@@ -7,8 +7,4 @@ QT += opengl widgets
target.path = $$[QT_INSTALL_EXAMPLES]/opengl/legacy/samplebuffers
INSTALLS += target
-contains(QT_CONFIG, opengles.) {
- contains(QT_CONFIG, angle): \
- warning("Qt was built with ANGLE, which provides only OpenGL ES 2.0 on top of DirectX 9.0c")
- error("This example requires Qt to be configured with -opengl desktop")
-}
+contains(QT_CONFIG, opengles.|angle|dynamicgl):error("This example requires Qt to be configured with -opengl desktop")