mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-11-24 12:13:03 +00:00
Fix build without FFmpeg and with older EGL 1.5 headers
This commit is contained in:
parent
c58d21375c
commit
4bbe571f5f
2 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,9 @@
|
|||
|
||||
#ifndef EGL_VERSION_1_5
|
||||
typedef intptr_t EGLAttrib;
|
||||
#endif
|
||||
|
||||
#if !defined(EGL_VERSION_1_5) || !defined(EGL_EGL_PROTOTYPES)
|
||||
typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -10,4 +10,4 @@ packagesExist(mmal) {
|
|||
PKGCONFIG += mmal
|
||||
}
|
||||
|
||||
PKGCONFIG += sdl2 egl
|
||||
PKGCONFIG += sdl2 egl libavcodec libavutil
|
Loading…
Reference in a new issue