diff options
author | Allan Sandfeld Jensen <[email protected]> | 2013-01-14 13:02:14 +0100 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-01-16 18:01:38 +0100 |
commit | cc5b698a95ba11691c151399ae53fc5b29c57a9f (patch) | |
tree | b00ee693a02b66022573d8beda3dd7e4052a992b /src/sql/doc/snippets/sqldatabase/sqldatabase.cpp | |
parent | ac864956f8ba6f6cb527725a4347babab2a1e498 (diff) |
Check for GLX_ARB_create_context extension before using it.
Mesa has started defining glXCreateContextAttribsARB even when it is not
supported as a feature. To be sure it is safe to use, we need to also check
if it is supported extension.
Change-Id: Ie160dc2b2418a726957b59f47bd290b742562ae3
Reviewed-by: Zeno Albisser <[email protected]>
Reviewed-by: Samuel Rødal <[email protected]>
Reviewed-by: Sean Harmer <[email protected]>
Diffstat (limited to 'src/sql/doc/snippets/sqldatabase/sqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions