diff options
| author | Alexander Volkov <a.volkov@rusbitech.ru> | 2018-09-18 14:26:22 +0300 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-29 09:33:04 +0000 |
| commit | 60cecc86f8cde0b2d4e727b9d0fe8a6cb994d660 (patch) | |
| tree | 823b6a1f0f8bd21854e2e32da1939c91642cfa22 /examples/opengl/qopenglwindow/main.cpp | |
| parent | e4a5483eaedaba8437441868dd87e14d1f605430 (diff) | |
xcb: Initialize OpenGL integration only when required
In some cases OpenGL integration may be unnecessary, e.g.
an application may set Qt::AA_ForceRasterWidgets attribute
and don't use OpenGL in any other way. In addition OpenGL
initialization can take noticeable time on some configurations.
So do it on demand only.
Change-Id: If88953f8d5c826bc96fd49eb397b5e1ad693546d
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'examples/opengl/qopenglwindow/main.cpp')
0 files changed, 0 insertions, 0 deletions
