summaryrefslogtreecommitdiffstats
path: root/src/core/ozone/gl_surface_egl_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-16 13:03:46 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-04-16 15:24:35 +0000
commit15ebee1c10a954ea2408e35e53fa8307defc3970 (patch)
tree37a760b9f44034c93f229652196bef15fab5cbf1 /src/core/ozone/gl_surface_egl_qt.cpp
parentaef55c4091f252231718369b382dd8f401f206e3 (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.cpp2
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()