diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-04-05 18:56:00 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-07 09:37:24 +0200 |
commit | 439a084cd359acfafa284961b5f08d6b2891c6c6 (patch) | |
tree | aa9f0aae1e3661bc457bd7a0c886683afd130454 /src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | |
parent | bda292c1ee61475a1bb93f01e7ab6dc22b9f08f2 (diff) |
Deal with 0x0 sized egl windows
wl_egl_windows must have both the width and height > 0 to be valid
Change-Id: I444f3732d9df3eabf12bbd966ac62093866b6926
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h')
-rw-r--r-- | src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h index d6708a342..c2c4dfa4c 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h +++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.h @@ -71,11 +71,11 @@ public: private: QWaylandEglClientBufferIntegration *m_clientBufferIntegration; - mutable struct wl_egl_window *m_waylandEglWindow; + struct wl_egl_window *m_waylandEglWindow; const QWaylandWindow *m_parentWindow; - mutable EGLSurface m_eglSurface; + EGLSurface m_eglSurface; EGLConfig m_eglConfig; mutable QOpenGLFramebufferObject *m_contentFBO; mutable bool m_resize; |