export EGL_PLATFORM as x11 in eglonxbackend
required because the early initEGL to detect buffer_age support can cause usage of the wrong driver in eglGetDisplay() BUG: 358750 FIXED-IN: 5.6 REVIEW: 126958
This commit is contained in:
parent
b905fa0f68
commit
176f492085
1 changed files with 1 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue