Commit 3d6d6594 authored by Simon Hausmann's avatar Simon Hausmann Committed by The Qt Project
Browse files

Centralize OpenGL initialization


We now require the user to use QWebEngine::initialize() in main (preferably) and
print out an error message if this wasn't set up accordingly. This limits the use
of private scene graph API to inside QWebEngine and offers public API for users
of the API.

Change-Id: I787c176a85ab7784dbc8787d9876960b4872959e
Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
parent 3512a6cf
Showing with 97 additions and 34 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