VideoConfig: Add a field for indicating logic op support in the backend

This commit is contained in:
Stenzek
2018-05-26 00:04:18 +10:00
parent 3d44dc3981
commit 640bfb8135
10 changed files with 16 additions and 1 deletions

View File

@ -414,7 +414,10 @@ HRESULT Create(HWND wnd)
hr = device->QueryInterface<ID3D11Device1>(&device1);
if (FAILED(hr))
{
WARN_LOG(VIDEO, "Missing Direct3D 11.1 support. Logical operations will not be supported.");
g_Config.backend_info.bSupportsLogicOp = false;
}
// BGRA textures are easier to deal with in TextureCache, but might not be supported
UINT format_support;