Fix build without libva-x11
This commit is contained in:
parent
84ea483b4c
commit
0fa7723f51
1 changed files with 1 additions and 1 deletions
|
|
@ -59,8 +59,8 @@ VAAPIRenderer::openDisplay(SDL_Window* window)
|
||||||
|
|
||||||
m_WindowSystem = info.subsystem;
|
m_WindowSystem = info.subsystem;
|
||||||
if (info.subsystem == SDL_SYSWM_X11) {
|
if (info.subsystem == SDL_SYSWM_X11) {
|
||||||
m_XWindow = info.info.x11.window;
|
|
||||||
#ifdef HAVE_LIBVA_X11
|
#ifdef HAVE_LIBVA_X11
|
||||||
|
m_XWindow = info.info.x11.window;
|
||||||
display = vaGetDisplay(info.info.x11.display);
|
display = vaGetDisplay(info.info.x11.display);
|
||||||
if (display == nullptr) {
|
if (display == nullptr) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue