1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[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

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);
}
}
}