diff options
author | Kenneth Graunke <[email protected]> | 2013-03-14 11:48:36 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-03-20 10:37:34 -0700 |
commit | 2dd22130cd708bad4d6ae4acb706394b1dd6ecd9 (patch) | |
tree | 70be9cc2b86d591cd55551bd028643e967e823d9 /src/glx | |
parent | 1f112ccf02adaf35317a356f40a71b16de637f97 (diff) |
i965: Don't print a fatal-looking message if intelCreateContext fails.
With the old context creation mechanism, an application asked the GL to
give it a context. Failing to produce a context was a fatal error.
Now, with GLX_ARB_create_context, the application can request a specific
version. If it's higher than the maximum version we support, context
creation will fail. But this is a normal error that applications
recover from.
In particular, the new glxinfo tries to create OpenGL 4.3, 4.2, 4.1,
4.0, 3.3, and 3.2 contexts before finally succeeding at creating a 3.1
context. This led to it printing the following message 6 times:
"brwCreateContext: failed to init intel context"
There's no need to alarm users (and developers) with such a message.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions