From ace506b5cac1f5e8ce8f357ca08e83dd53247c8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 21 Jul 2016 09:42:01 +0200 Subject: [PATCH] [platforms/x11] Fix init of EGL/X11 Incorrect variable naming. --- plugins/platforms/x11/common/eglonxbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/x11/common/eglonxbackend.cpp b/plugins/platforms/x11/common/eglonxbackend.cpp index a55cc9cdf0..35c401bfd1 100644 --- a/plugins/platforms/x11/common/eglonxbackend.cpp +++ b/plugins/platforms/x11/common/eglonxbackend.cpp @@ -176,7 +176,7 @@ bool EglOnXBackend::initRenderingContext() // Use eglGetPlatformDisplayEXT() to get the display pointer // if the implementation supports it. - if (display == EGL_NO_DISPLAY) { + if (dpy == EGL_NO_DISPLAY) { const bool havePlatformBase = hasClientExtension(QByteArrayLiteral("EGL_EXT_platform_base")); setHavePlatformBase(havePlatformBase); if (havePlatformBase) {