mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 06:46:55 +00:00
vo_rpi, wayland: fix build
Broken by commit d47dff3f
. If something is going to include EGL.h,
header_fixes.h has to know. This definitely affected vo_rpi, and
probably affects wayland builds (with x11egl didabled) as well.
This commit is contained in:
parent
0a6c334b59
commit
d2281935b3
@ -1,6 +1,6 @@
|
||||
#include <bcm_host.h>
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
#include "common.h"
|
||||
|
||||
struct mp_egl_rpi {
|
||||
struct mp_log *log;
|
||||
|
10
wscript
10
wscript
@ -612,11 +612,6 @@ video_output_features = [
|
||||
'deps': [ 'x11', 'c11-tls' ],
|
||||
'groups': [ 'gl' ],
|
||||
'func': check_pkg_config('egl', 'gl'),
|
||||
} , {
|
||||
'name': 'egl',
|
||||
'desc': 'EGL',
|
||||
'deps': [ 'egl-x11' ],
|
||||
'func': check_true,
|
||||
} , {
|
||||
'name': '--gl-wayland',
|
||||
'desc': 'OpenGL Wayland Backend',
|
||||
@ -708,6 +703,11 @@ video_output_features = [
|
||||
'desc': 'OpenGL video outputs',
|
||||
'deps_any': [ 'gl-cocoa', 'gl-x11', 'gl-win32', 'gl-wayland', 'rpi' ],
|
||||
'func': check_true
|
||||
} , {
|
||||
'name': 'egl',
|
||||
'desc': 'EGL',
|
||||
'deps_any': [ 'egl-x11', 'rpi' , 'gl-wayland' ],
|
||||
'func': check_true,
|
||||
}
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user