mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 22:50:57 +00:00
Remove handling for Windows versions that are no longer supported
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#include "streaming/session.h"
|
||||
|
||||
#include <SDL_syswm.h>
|
||||
#include <VersionHelpers.h>
|
||||
|
||||
#include <dwmapi.h>
|
||||
|
||||
@@ -465,13 +464,6 @@ bool D3D11VARenderer::initialize(PDECODER_PARAMETERS params)
|
||||
"D3D11VA is disabled by environment variable");
|
||||
return false;
|
||||
}
|
||||
else if (!IsWindows10OrGreater()) {
|
||||
// Use DXVA2 on anything older than Win10, so we don't have to handle a bunch
|
||||
// of legacy Win7/Win8 codepaths in here.
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"D3D11VA renderer is only supported on Windows 10 or later.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!SDL_DXGIGetOutputInfo(SDL_GetWindowDisplayIndex(params->window),
|
||||
&m_AdapterIndex, &outputIndex)) {
|
||||
|
||||
Reference in New Issue
Block a user