f5b552b590
Make QOpenGLContext::create() return false when the native context could not be initialized. This way the return value and isValid() become equivalent. Relying on on having a non-NULL platform context is not enough, many platforms will return a new instance even if the underlying platform code failed to create a native context. To ensure that a platform context is really usable, isValid() has to be checked too. Change-Id: I6b4e9fdb24347ad52fbd6edbb8d144d51e16c301 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> |
||
---|---|---|
.. | ||
accessible | ||
animation | ||
doc | ||
image | ||
itemmodels | ||
kernel | ||
math3d | ||
opengl | ||
painting | ||
text | ||
util | ||
gui.pro | ||
Qt5GuiConfigExtras.cmake.in | ||
QtGui.dynlist |