summaryrefslogtreecommitdiffstats
path: root/player/loadfile.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-02-08 20:53:19 +0100
committerwm4 <wm4@nowhere>2016-02-08 20:53:19 +0100
commit09d61032cac27ce12e1b858b531150ac89efe424 (patch)
treee80de0da8776469d791b61f9e57ea9c62ff3724b /player/loadfile.c
parentc3348d86f21944bad9e582f3c5d6b4cc4e4abfb1 (diff)
downloadmpv-09d61032cac27ce12e1b858b531150ac89efe424.tar.bz2
mpv-09d61032cac27ce12e1b858b531150ac89efe424.tar.xz
build: enable vo_opengl_cb if GL headers are present
To be more specific, enable vo_opengl and vo_opengl_cb, if libmpv is compiled, and the GL headers happen to be in the default search paths. Although platform specific code can be useful for libmpv (for window embedding, and even with vo_opengl_cb for certain forms of hardware decoding), it's not a requirement to use the opengl_cb API. Enabling vo_opengl is not useful here, but the rest of the build system doesn't distinguish vo_opengl and vo_opengl_cb, and I see no reason to.
Diffstat (limited to 'player/loadfile.c')
0 files changed, 0 insertions, 0 deletions