https://bugs.kde.org/show_bug.cgi?id=358750

--- Comment #26 from Thomas Lübking <thomas.luebk...@gmail.com> ---
(In reply to Martin Gräßlin from comment #25)
> The problem should only be in the EglOnXBackend, so a
> qputenv("EGL_PLATFORM", "x11");
> 
> could be added, if it helps.

+1
We might remove the early initEGL() once we expect buffer_get support and/or
drop EGL_SWAP_BEHAVIOR_PRESERVED_BIT otherwise.

@Niels, is this sufficient (the nvidia blob resolves some environment on
loading only ...)

diff --git a/eglonxbackend.cpp b/eglonxbackend.cpp
index 63ef6e7..eca6e23 100644
--- a/eglonxbackend.cpp
+++ b/eglonxbackend.cpp
@@ -89,6 +89,7 @@ EglOnXBackend::~EglOnXBackend()

 void EglOnXBackend::init()
 {
+    qputenv("EGL_PLATFORM", "x11");
     initEGL();       // required to toggle
     initBufferAge(); // EGL_SWAP_BEHAVIOR_PRESERVED_BIT
     if (!initRenderingContext()) {

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to