Commit a40850f0 authored by Michal Klocek's avatar Michal Klocek Committed by Allan Sandfeld Jensen
Browse files

Move check for g_egl_surfaceless_context_supported


The check g_egl_surfaceless_context_supported can not take place in
InitializeExtensionSettingsOneOff since correct surface/less
initialization is required for gpu info collection which
is initialized with InitializeGLNoExtensionsOneOff. Otherwise
egl with pbuffers is only supported, which will fail on wayland.
Move the check to InitializeOneOff.

Task-number: QTBUG-65682
Change-Id: I0f5107134366f141e1941e824e3238473383962a
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 4b30d82f
Showing with 6 additions and 10 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment