[platforms/x11] Fix init of EGL/X11
Incorrect variable naming.
This commit is contained in:
parent
56ce6689fd
commit
ace506b5ca
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ bool EglOnXBackend::initRenderingContext()
|
||||||
|
|
||||||
// Use eglGetPlatformDisplayEXT() to get the display pointer
|
// Use eglGetPlatformDisplayEXT() to get the display pointer
|
||||||
// if the implementation supports it.
|
// if the implementation supports it.
|
||||||
if (display == EGL_NO_DISPLAY) {
|
if (dpy == EGL_NO_DISPLAY) {
|
||||||
const bool havePlatformBase = hasClientExtension(QByteArrayLiteral("EGL_EXT_platform_base"));
|
const bool havePlatformBase = hasClientExtension(QByteArrayLiteral("EGL_EXT_platform_base"));
|
||||||
setHavePlatformBase(havePlatformBase);
|
setHavePlatformBase(havePlatformBase);
|
||||||
if (havePlatformBase) {
|
if (havePlatformBase) {
|
||||||
|
|
Loading…
Reference in a new issue