diff options
author | Tor Arne Vestbø <[email protected]> | 2025-05-05 14:35:48 +0200 |
---|---|---|
committer | Tor Arne Vestbø <[email protected]> | 2025-05-23 17:42:46 +0200 |
commit | 4a7ccb65f0065e878c5762db05eca9c5cd6731e5 (patch) | |
tree | e737796f54e0dc655185820f3ceed08f0a8f66d7 /src/tools | |
parent | 868fc456acba412f5a1d4a39fa504fc890fda205 (diff) |
The requirement to set Qt::AA_ShareOpenGLContexts before creating QGuiApp
was forcing users to also set the default surface format before QGuiApp,
which prevents us from initializing a default surface format based on
the platform integration.
By creating the global share context lazily when requested via the
Qt::AA_ShareOpenGLContext application attribute we open up this
possibility.
Change-Id: I958639c997e96321013b1080c31e2533a36c13ff
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions