mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 21:51:17 +00:00
Fix VDPAU on X11
This commit is contained in:
@@ -107,7 +107,7 @@ bool VDPAURenderer::initialize(PDECODER_PARAMETERS params)
|
|||||||
"VDPAU is not supported on Wayland");
|
"VDPAU is not supported on Wayland");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else {
|
else if (info.subsystem != SDL_SYSWM_X11) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"VDPAU is not supported on the current subsystem: %d",
|
"VDPAU is not supported on the current subsystem: %d",
|
||||||
info.subsystem);
|
info.subsystem);
|
||||||
|
|||||||
Reference in New Issue
Block a user