diff options
author | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2011-09-13 13:59:59 +0200 |
---|---|---|
committer | Lasse Holmstedt <lasse.holmstedt@nokia.com> | 2011-09-13 13:59:59 +0200 |
commit | 26f375cdddac3ea5dc65bdca02cb1c64ed543b2c (patch) | |
tree | bc153aee04a961ca72d010386f86fbf93223a776 | |
parent | f06d67635c5953b8f3a9908b2c989abe845d16c1 (diff) |
Build fix
-rw-r--r-- | src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp b/src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp index 3f47fd9..59617c6 100644 --- a/src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp +++ b/src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp @@ -6,7 +6,7 @@ #include <QtWidgets/QApplication> #include <QtGui/QPlatformNativeInterface> -#include <QtGui/QPlatformGLContext> +#include <QtGui/QPlatformOpenGLContext> #include "xcompositebuffer.h" #include "xcompositehandler.h" @@ -42,10 +42,10 @@ XCompositeEglIntegration::XCompositeEglIntegration(WaylandCompositor *compositor { QPlatformNativeInterface *nativeInterface = QApplication::platformNativeInterface(); if (nativeInterface) { - mDisplay = static_cast<Display *>(nativeInterface->nativeResourceForWidget("Display",m_compositor->window())); + mDisplay = static_cast<Display *>(nativeInterface->nativeResourceForWindow("Display",m_compositor->window())); if (!mDisplay) qFatal("could not retireve Display from platform integration"); - mEglDisplay = static_cast<EGLDisplay>(nativeInterface->nativeResourceForWidget("EGLDisplay",m_compositor->window())); + mEglDisplay = static_cast<EGLDisplay>(nativeInterface->nativeResourceForWindow("EGLDisplay",m_compositor->window())); if (!mEglDisplay) qFatal("could not retrieve EGLDisplay from plaform integration"); } else { |