summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/connman/qofonoservice_linux_p.h
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2013-02-04 15:59:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-23 00:29:13 +0100
commit4b54c553058f278cedf1d40edacdc488aaa54f81 (patch)
treee413d47a54c41a5b754e337a1ca71b0e98adc2b6 /src/plugins/bearer/connman/qofonoservice_linux_p.h
parent1b08e0307dfebe561fbb0819a2d6b53edd8e8e93 (diff)
Fix OpenGL context creation in the XCB plugin
Make it possible to create a core context with OpenGL implementations that don't implement the compatibility profile or the GL_ARB_compatibility extension. Qt was effectively clamping the OpenGL version to 3.0 by assuming that the highest supported backwards compatible version is also the highest supported core version. Since there is no way to check if the implementation supports a context with a given set of attributes without trying to create the context, we have to try every known OpenGL version until we find one that's supported. Note that this commit does not fix similar breakage on other platforms. Change-Id: I9616762b059db9e6182f853ab7f24ff44dc7d529 Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/plugins/bearer/connman/qofonoservice_linux_p.h')
0 files changed, 0 insertions, 0 deletions