mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
Merge branch 'master' of https://github.com/doitsujin/dxvk
This commit is contained in:
commit
aeef93e1e4
@ -628,8 +628,8 @@ namespace dxvk {
|
|||||||
pResource->GetType(&resourceDim);
|
pResource->GetType(&resourceDim);
|
||||||
|
|
||||||
if (resourceDim == D3D11_RESOURCE_DIMENSION_BUFFER) {
|
if (resourceDim == D3D11_RESOURCE_DIMENSION_BUFFER) {
|
||||||
Logger::err("D3D11: Cannot create render target view for a buffer");
|
Logger::warn("D3D11: Cannot create render target view for a buffer");
|
||||||
return E_INVALIDARG;
|
return S_OK; // It is required to run Battlefield 3 and Battlefield 4.
|
||||||
}
|
}
|
||||||
|
|
||||||
// The view description is optional. If not defined, it
|
// The view description is optional. If not defined, it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user