Remove Q_ASSERT when getting the OpenGL Context Profile
authorAndy Nichols <andy.nichols@digia.com>
Mon, 1 Sep 2014 10:45:10 +0000 (12:45 +0200)
committerAndy Nichols <andy.nichols@digia.com>
Mon, 1 Sep 2014 10:51:45 +0000 (12:51 +0200)
commit64d844ff6e5c007f44747a5a7a3c3646ca95a632
treee14bcc815c81e9e8368d97c8c03016e37c21cd3d
parent02a53eae69b7938c142739bd019b962d62560d52
Remove Q_ASSERT when getting the OpenGL Context Profile

We do not actually use the OpenGL context in this method other than to
query the profile type if one is available.  In the case that there is
no context the profile type does not matter and the default value of
QSurfaceFormat::NoProfile is correct.

Change-Id: Ice4440fe0e578d4cdcba347f5325768667722af8
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/quick/scenegraph/util/qsgshadersourcebuilder.cpp