1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-29 17:52:18 +01:00
This commit is contained in:
Philip Rebohle 2018-04-02 10:58:49 +02:00
commit aeef93e1e4

View File

@ -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