[d3d10] Fix resource type for buffers.

This commit is contained in:
Nikolay Sivov 2018-08-26 10:01:28 +03:00 committed by Philip Rebohle
parent 73cbf5b352
commit d464d11fbd
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ namespace dxvk {
void STDMETHODCALLTYPE D3D10Buffer::GetType(
D3D10_RESOURCE_DIMENSION* rType) {
*rType = D3D10_RESOURCE_DIMENSION_TEXTURE1D;
*rType = D3D10_RESOURCE_DIMENSION_BUFFER;
}
@ -110,4 +110,4 @@ namespace dxvk {
pDesc->MiscFlags = ConvertD3D11ResourceFlags(d3d11Desc.MiscFlags);
}
}
}