diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-09-27 19:31:58 +0300 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-09-30 17:36:04 +0200 |
commit | d480db141ec78ed85b299910d3796b4232264bc4 (patch) | |
tree | 3bfda6bf38249d3d3152a631bfcd36fad4db1495 /src/client | |
parent | 5f718c7d04d44c3878018e8070b18cf0e7486eb0 (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/client')
-rw-r--r-- | src/client/qwaylandwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index 3b1de7f60..5786c1fb8 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -700,7 +700,6 @@ bool QWaylandWindow::setWindowStateInternal(Qt::WindowState state) // QPlatformWindow::setWindowState returns, so we cannot rely on QWindow::windowState // here. We use then this mState variable. mState = state; - createDecoration(); if (mShellSurface) { switch (state) { |