Lighthouse: Wayland compile-fix for egl interface change
authorJørgen Lind <jorgen.lind@nokia.com>
Thu, 10 Feb 2011 09:09:18 +0000 (10:09 +0100)
committerJørgen Lind <jorgen.lind@nokia.com>
Thu, 10 Feb 2011 09:11:19 +0000 (10:11 +0100)
src/plugins/platforms/wayland/qwaylandeglwindow.cpp

index 0bdf44d..ed54bb9 100644 (file)
@@ -104,7 +104,7 @@ void QWaylandEglWindow::newSurfaceCreated()
     if (!size.isValid())
         size = QSize(0,0);
 
-    mWaylandEglWindow = wl_egl_window_create(mSurface,size.width(),size.height(),visual);
+    mWaylandEglWindow = wl_egl_window_create(mDisplay->nativeDisplay(),mSurface,size.width(),size.height(),visual);
     if (mGLContext) {
         EGLNativeWindowType window(reinterpret_cast<EGLNativeWindowType>(mWaylandEglWindow));
         EGLSurface surface = eglCreateWindowSurface(mDisplay->eglDisplay(),mGLContext->eglConfig(),window,NULL);