summaryrefslogtreecommitdiffstats
path: root/mpvcore/mp_lua.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-28 23:43:07 +0100
committerwm4 <wm4@nowhere>2013-10-28 23:54:02 +0100
commit884b4600a478a1a4b56c53e71dd697ca6773494b (patch)
treece3a4e91bf981a372f580d8440b147905353eb8b /mpvcore/mp_lua.c
parentdceccaf1695a69227947501102977bbac240977b (diff)
downloadmpv-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 'mpvcore/mp_lua.c')
0 files changed, 0 insertions, 0 deletions