mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-15 14:42:26 +00:00
Fix VAAPIRenderer build error with HAVE_DRM but not HAVE_EGL
This commit is contained in:
@@ -26,7 +26,7 @@ extern "C" {
|
||||
#include <va/va_drm.h>
|
||||
#endif
|
||||
#include <libavutil/hwcontext_vaapi.h>
|
||||
#ifdef HAVE_EGL
|
||||
#if defined(HAVE_EGL) || defined(HAVE_DRM)
|
||||
#include <va/va_drmcommon.h>
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user