diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/config/embedded_linux.pri | 2 | ||||
-rw-r--r-- | src/core/gl_surface_qt.cpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/core/config/embedded_linux.pri b/src/core/config/embedded_linux.pri index 51d7e2671..f9b8a35d5 100644 --- a/src/core/config/embedded_linux.pri +++ b/src/core/config/embedded_linux.pri @@ -12,6 +12,8 @@ use?(gn) { enable_notifications=false \ ozone_auto_platforms=false \ ozone_platform_headless=true \ + ozone_platform_external=true \ + ozone_platform=\"eglfs\" \ toolkit_views=false use?(icecc) { diff --git a/src/core/gl_surface_qt.cpp b/src/core/gl_surface_qt.cpp index 30a915598..64395d219 100644 --- a/src/core/gl_surface_qt.cpp +++ b/src/core/gl_surface_qt.cpp @@ -641,13 +641,13 @@ CreateOffscreenGLSurface(const gfx::Size& size) if (surface->Initialize()) return surface; } - + LOG(WARNING) << "Failed to create offscreen GL surface"; break; } default: break; } - LOG(ERROR) << "Requested OpenGL platform is not supported."; + LOG(ERROR) << "Requested OpenGL implementation is not supported. Implementation: " << GetGLImplementation(); Q_UNREACHABLE(); return NULL; } |