From 0d4d677499a936e1e79604af39af15e098cb6eac Mon Sep 17 00:00:00 2001 From: Michal Klocek Date: Tue, 10 Apr 2018 11:06:03 +0200 Subject: Do no log pbuffer creation failure as error The pbuffer creation with egl can fail, however this is expexted if surfaceless egl is used. Task-number: QTBUG-65682 Change-Id: I0aefda0bec3d3b4943df20697b495dba83e012a7 Reviewed-by: Allan Sandfeld Jensen --- src/core/ozone/gl_surface_egl_qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ozone/gl_surface_egl_qt.cpp') diff --git a/src/core/ozone/gl_surface_egl_qt.cpp b/src/core/ozone/gl_surface_egl_qt.cpp index e4dc738aa..6de9d20b5 100644 --- a/src/core/ozone/gl_surface_egl_qt.cpp +++ b/src/core/ozone/gl_surface_egl_qt.cpp @@ -213,7 +213,7 @@ bool GLSurfaceEGLQt::Initialize(GLSurfaceFormat format) g_config, pbuffer_attributes); if (!m_surfaceBuffer) { - LOG(ERROR) << "eglCreatePbufferSurface failed with error " << GetLastEGLErrorString(); + VLOG(1) << "eglCreatePbufferSurface failed with error " << GetLastEGLErrorString(); Destroy(); return false; } -- cgit v1.2.3