summaryrefslogtreecommitdiffstats
path: root/tests/manual/boundingvolumes/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/boundingvolumes/main.cpp')
-rw-r--r--tests/manual/boundingvolumes/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/boundingvolumes/main.cpp b/tests/manual/boundingvolumes/main.cpp
index 2a988a271..4d22a5b68 100644
--- a/tests/manual/boundingvolumes/main.cpp
+++ b/tests/manual/boundingvolumes/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char **argv)
{
// Set OpenGL requirements
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
-#ifndef QT_OPENGL_ES_2
+#if !QT_CONFIG(opengles2)
format.setVersion(4, 1);
format.setProfile(QSurfaceFormat::CoreProfile);
format.setSamples(4);