mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-15 05:42:28 +00:00
Fix VAAPIRenderer build error with HAVE_DRM but not HAVE_EGL
This commit is contained in:
parent
09ed82db65
commit
8c93b2d54c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue