Refactor VAAPI surface export check into separate function

This commit is contained in:
Cameron Gutman committed 2022-01-29 17:45:36 -06:00
1 parent 3fcf31d009
commit 9755e31fa2
2 files changed
+13 -5

No files matched your search

@@ -52,6 +52,7 @@ public:
private:
VADisplay openDisplay(SDL_Window* window);
bool canExportSurfaceHandle(int layerTypeFlag);
int m_WindowSystem;
AVBufferRef* m_HwContext;