mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-02-16 02:30:52 +00:00
Fix build without FFmpeg and with older EGL 1.5 headers
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user