diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-11 09:50:38 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-06-14 12:41:31 +0000 |
commit | dee6ffb0eb3b133d38f09a2f7dd915aee8c289e7 (patch) | |
tree | 5e0c1a9cb6d7cce41bc24b078eb9b7f8c5e4b745 /src/core/gl_surface_qt.cpp | |
parent | d42caf438cf240c0ad1f803320f9063d6108a0aa (diff) |
Graphics adaptations for Chromium 58
Change-Id: I66262ce7943bd5ba98defff5e4a33063b2ed0353
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/gl_surface_qt.cpp')
-rw-r--r-- | src/core/gl_surface_qt.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/gl_surface_qt.cpp b/src/core/gl_surface_qt.cpp index a09196220..e0672f14f 100644 --- a/src/core/gl_surface_qt.cpp +++ b/src/core/gl_surface_qt.cpp @@ -441,6 +441,11 @@ bool GLSurfaceEGL::HasEGLExtension(const char* name) return ExtensionsContain(GetEGLExtensions(), name); } +bool GLSurfaceEGL::InitializeOneOff(EGLNativeDisplayType /*native_display*/) +{ + return GLSurfaceQtEGL::InitializeOneOff(); +} + GLSurfaceQt::GLSurfaceQt(const gfx::Size& size) : m_size(size) { @@ -463,7 +468,6 @@ GLSurfaceQtEGL::GLSurfaceQtEGL(const gfx::Size& size) bool GLSurfaceQtEGL::Initialize(GLSurfaceFormat format) { - Q_UNUSED(format); Q_ASSERT(!m_surfaceBuffer); m_format = format; |