Make sure the GL integrations have been fully initialized in time.
authorSamuel Rødal <samuel.rodal@digia.com>
Fri, 30 Nov 2012 12:23:03 +0000 (13:23 +0100)
committerJørgen Lind <jorgen.lind@gmail.com>
Fri, 30 Nov 2012 12:42:52 +0000 (13:42 +0100)
commitb30f9e80eddbb41a886c636f2c509c982483c4a6
treeb9ca7355299e709df768e89a233550082d5fb8ff
parent2246c0150c0f28a6ca9803ca2c454b2492030b8b
Make sure the GL integrations have been fully initialized in time.

Before we return from the platform integration constructor, and thus
before the application tries to create QPlatformWindows or
QPlatformOpenGLContexts.

Change-Id: Iface9116f876e2d25561be4fcaee5fd7dabba572
Reviewed-by: Florian Hänel <florian.haenel@basyskom.com>
Reviewed-by: Jørgen Lind <jorgen.lind@gmail.com>
src/plugins/platforms/wayland/gl_integration/qwaylandglintegration.h
src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglintegration.h
src/plugins/platforms/wayland/gl_integration/xcomposite_glx/qwaylandxcompositeglxintegration.h
src/plugins/platforms/wayland/qwaylanddisplay.cpp