summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorZeno Albisser <zeno@webkit.org>2012-08-03 13:37:03 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-07 16:40:07 +0200
commit9828dace05f419445197cc6b2912e87c11b797c8 (patch)
tree436ee2e4bfc9247ec0a8bdedb2d5da4426b95ca5 /src/tools
parent41379f9580827dec14099a53e25bdd688a3813bf (diff)
Only use glXCreateContext if glXCreateContextAttribsARB did not succeed.
If glXCreateContextAttribsARB does not succeed or is not available, we should fallback to using glXCreateContext. But we should not just create a context with glXCreateContext by default that is being thrown away if glXCreateContextAttribsARB succeeds. Otherwise glXMakeCurrent with context 0 might cause an unexpected context change when dealing with multiple contexts. Change-Id: I7627abbe2500b4006180653a1b3b074fe7aca1d3 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions