mirror of
https://github.com/mpv-player/mpv
synced 2025-02-04 22:22:16 +00:00
build: fix --disable-gl if cuda is enabled
video/out/opengl/hwdec_cuda.c is enabled with cuda-hwaccel. But it makes only sense to build if GL is enabled, and in fact it fails to link without GL as it calls a specific GL helper function. In theory it would be perfectly possible to use cuda-copy with GL disabled. But I'm not bothering with the complexity.
This commit is contained in:
parent
954625c165
commit
dccb752b5f