[platforms/x11] Fix init of EGL/X11

Incorrect variable naming.
remotes/origin/input-device-dbus
Martin Gräßlin 10 years ago
parent 56ce6689fd
commit ace506b5ca
  1. 2
      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) {

Loading…
Cancel
Save