Fix VAAPIRenderer build error with neither HAVE_EGL nor HAVE_DRM defined
This commit is contained in:
parent
8c93b2d54c
commit
fee6f75223
2 changed files with 7 additions and 0 deletions
|
|
@ -58,7 +58,10 @@ public:
|
|||
|
||||
private:
|
||||
VADisplay openDisplay(SDL_Window* window);
|
||||
|
||||
#if defined(HAVE_EGL) || defined(HAVE_DRM)
|
||||
bool canExportSurfaceHandle(int layerTypeFlag);
|
||||
#endif
|
||||
|
||||
int m_WindowSystem;
|
||||
AVBufferRef* m_HwContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue