diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2021-10-03 13:14:19 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2021-10-16 20:33:53 +0000 |
commit | 6354540cf8c309e11ff4b6f33d2e97d57771399a (patch) | |
tree | 874443fff6fce139c3f9d98a973705851d079330 /DOCS/man | |
parent | e869d519baf4b71b33e522f97b4638979fe0d4db (diff) | |
download | mpv-6354540cf8c309e11ff4b6f33d2e97d57771399a.tar.bz2 mpv-6354540cf8c309e11ff4b6f33d2e97d57771399a.tar.xz |
vo_gpu: context_glx: cleanup create_context_x11_gl3 code path
Drop the gl3 suffix from the function name - it's no longer needed, with
the _old function gone.
Push the mpgl_min_required_gl_versions[] looping within the function,
reducing the identical glXGetProcAddress/glXQueryExtensionsString calls
while making the code neater.
v2:
- tabs -> spaces indentation
- mpgl_preferred_gl_versions -> mpgl_min_required_gl_versions
- 320 -> 300 (in glx code path)
v3:
- legacy code path is gone \o/
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'DOCS/man')
0 files changed, 0 insertions, 0 deletions