diff options
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp b/src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp index 0e8e3957d0..7bf53ef351 100644 --- a/src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp +++ b/src/plugins/platforms/eglfs/qeglfsoffscreenwindow.cpp @@ -63,7 +63,7 @@ QEglFSOffscreenWindow::QEglFSOffscreenWindow(EGLDisplay display, const QSurfaceF , m_surface(EGL_NO_SURFACE) , m_window(0) { - m_window = QEglFSHooks::hooks()->createNativeOffscreenWindow(format); + m_window = qt_egl_device_integration()->createNativeOffscreenWindow(format); if (!m_window) { qWarning("QEglFSOffscreenWindow: Failed to create native window"); return; @@ -79,7 +79,7 @@ QEglFSOffscreenWindow::~QEglFSOffscreenWindow() if (m_surface != EGL_NO_SURFACE) eglDestroySurface(m_display, m_surface); if (m_window) - QEglFSHooks::hooks()->destroyNativeWindow(m_window); + qt_egl_device_integration()->destroyNativeWindow(m_window); } QT_END_NAMESPACE |