diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-03-21 13:32:41 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-03-22 15:41:10 +0000 |
commit | 1d647a22f3924459ceff0d663eb1d7343fb54d2e (patch) | |
tree | 133dcc6df8407213b045d43e9b5b9f19844f4193 /bin | |
parent | a653669b20bdf46dc63eab5f895952acbf067b80 (diff) |
xcb: Fix embedded Vulkan windows
Widget windows choose a visual via the GLX or EGL path. Vulkan windows
use the default, simple visual chooser. When having a parent, the
different visuals can cause a BadMatch. Avoid this by taking the parent's
visual.
This way the hellovulkanwidget example is now functional on xcb as well
(tested on Jetson TX1 with L4T 24.2).
While we are at it, stop forcing RGB888 in the format, unless nothing
was set.
Change-Id: I39ab87e3219c04d4f547325d13d4873d70564411
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions