summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-09-27 19:31:58 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-09-30 17:36:04 +0200
commitd480db141ec78ed85b299910d3796b4232264bc4 (patch)
tree3bfda6bf38249d3d3152a631bfcd36fad4db1495 /src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
parent5f718c7d04d44c3878018e8070b18cf0e7486eb0 (diff)
Support the creation of >= 3.x OpenGL contexts
Use the EGL_KHR_create_context extension if available to create modern gl contexts. We disable window decorations on core profiles because that mandates a VAO to be used. Change-Id: Id6044e64f6736244ae9d593af4d68c4000a31de6 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h')
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h b/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
index 9d3d15094..75053190d 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglclientbufferintegration.h
@@ -68,7 +68,7 @@ public:
EGLDisplay eglDisplay() const;
private:
- struct wl_display *m_waylandDisplay;
+ QWaylandDisplay *m_display;
EGLDisplay m_eglDisplay;
bool m_supportsThreading;