summaryrefslogtreecommitdiffstats
path: root/player/audio.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-06 14:33:30 +0100
committerwm4 <wm4@nowhere>2014-02-12 22:32:43 +0100
commitc47bb9ca4272012cf53325a2df3047d8d2a32d2c (patch)
tree8e765323ceb7fbcb7f0f4a5488dc96cb823e4659 /player/audio.c
parent938dad0b88b0bd3d360e86d5d71f2cdee2fcbcad (diff)
downloadmpv-c47bb9ca4272012cf53325a2df3047d8d2a32d2c.tar.bz2
mpv-c47bb9ca4272012cf53325a2df3047d8d2a32d2c.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 'player/audio.c')
0 files changed, 0 insertions, 0 deletions