diff options
author | wm4 <wm4@nowhere> | 2013-10-28 23:43:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-10-28 23:54:02 +0100 |
commit | 884b4600a478a1a4b56c53e71dd697ca6773494b (patch) | |
tree | ce3a4e91bf981a372f580d8440b147905353eb8b /stream/stream_avdevice.c | |
parent | dceccaf1695a69227947501102977bbac240977b (diff) | |
download | mpv-884b4600a478a1a4b56c53e71dd697ca6773494b.tar.bz2 mpv-884b4600a478a1a4b56c53e71dd697ca6773494b.tar.xz |
gl_x11: change error message when GL3 context creation fails
On systems that provide legacy OpenGL (up to 2.1), but not GL3 and
later, creating a GL3 context will fail. We then revert to legacy GL.
Apparently the error message printed when the GL3 context creation
fails is confusing. We could just silence it, but there's still a X
error ("X11 error: GLXBadFBConfig"), which would be quite hard to
filter out. For one, it would require messing with the X11 error
handler, which doesn't even carry a context pointer (for application
private data), so we don't even want to touch it. Instead, change
the error message to inform the user what's actually happening: a
fallback to an older version of OpenGL.
Diffstat (limited to 'stream/stream_avdevice.c')
0 files changed, 0 insertions, 0 deletions