Merge pull request #2033 from jpark37/intel-hates-nv12
libobs-d3d11: Disable NV12 usage for Intel
This commit is contained in:
commit
a2c2e15ddc
@ -390,6 +390,11 @@ void gs_device::InitDevice(uint32_t adapterIdx)
|
||||
|
||||
nv12Supported = false;
|
||||
|
||||
/* Intel CopyResource is very slow with NV12 */
|
||||
if (desc.VendorId == 0x8086) {
|
||||
return;
|
||||
}
|
||||
|
||||
ComQIPtr<ID3D11Device1> d3d11_1(device);
|
||||
if (!d3d11_1) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user