diff options
author | wm4 <wm4@nowhere> | 2014-02-06 14:33:30 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-06 14:33:30 +0100 |
commit | 67769db1a4e3a765c5f770f44f8b2b041a0246a9 (patch) | |
tree | a52dcb904b8056489c762bb6b64d4e5c2125f4f4 /wscript | |
parent | 7134574f5304e20a83645b123cf70610344597e4 (diff) | |
download | mpv-67769db1a4e3a765c5f770f44f8b2b041a0246a9.tar.bz2 mpv-67769db1a4e3a765c5f770f44f8b2b041a0246a9.tar.xz |
gl_x11: don't require a X visual for modern GL context creation
Legacy GL context creation (glXCreateContext) explicitly requires a X
visual, while the modern one (glXCreateContextAttribsARB) does not for
some reason. So fail only on the legacy code path if we don't find a
visual. Note that vo_x11_config_vo_window() will select a default visual
if a NULL visual is passed to it.
Diffstat (limited to 'wscript')
0 files changed, 0 insertions, 0 deletions