Fix build without FFmpeg and with older EGL 1.5 headers

This commit is contained in:
Cameron Gutman committed 2020-05-16 13:25:10 -07:00
1 parent c58d21375c
commit 4bbe571f5f
2 files changed
+4 -1

No files matched your search

@@ -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
+1 -1
View File
@@ -10,4 +10,4 @@ packagesExist(mmal) {
PKGCONFIG += mmal
}
PKGCONFIG += sdl2 egl
PKGCONFIG += sdl2 egl libavcodec libavutil