diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-16 13:03:46 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-04-16 15:24:35 +0000 |
commit | 15ebee1c10a954ea2408e35e53fa8307defc3970 (patch) | |
tree | 37a760b9f44034c93f229652196bef15fab5cbf1 /src/core/ozone/gl_surface_egl_qt.cpp | |
parent | aef55c4091f252231718369b382dd8f401f206e3 (diff) |
Pass robustness support on to Chromium when supported
Change-Id: Ie34d36601efc743432202c2ad1f40e9837530b5e
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'src/core/ozone/gl_surface_egl_qt.cpp')
-rw-r--r-- | src/core/ozone/gl_surface_egl_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ozone/gl_surface_egl_qt.cpp b/src/core/ozone/gl_surface_egl_qt.cpp index 8715a5095..33dd5745f 100644 --- a/src/core/ozone/gl_surface_egl_qt.cpp +++ b/src/core/ozone/gl_surface_egl_qt.cpp @@ -128,7 +128,7 @@ EGLDisplay GLSurfaceEGL::GetHardwareDisplay() bool GLSurfaceEGL::IsCreateContextRobustnessSupported() { - return false; + return GLContextHelper::isCreateContextRobustnessSupported() && HasEGLExtension("EGL_EXT_create_context_robustness"); } bool GLSurfaceEGL::IsCreateContextBindGeneratesResourceSupported() |