summaryrefslogtreecommitdiffstats
path: root/tests/manual/manual-renderloop/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/manual-renderloop/main.cpp')
-rw-r--r--tests/manual/manual-renderloop/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/manual-renderloop/main.cpp b/tests/manual/manual-renderloop/main.cpp
index 44d661136..a3f108e50 100644
--- a/tests/manual/manual-renderloop/main.cpp
+++ b/tests/manual/manual-renderloop/main.cpp
@@ -172,7 +172,7 @@ private:
int main(int ac, char **av)
{
QSurfaceFormat format = QSurfaceFormat::defaultFormat();
-#ifdef QT_OPENGL_ES_2
+#if QT_CONFIG(opengles2)
format.setRenderableType(QSurfaceFormat::OpenGLES);
#else
if (QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGL) {