mirror of https://github.com/doitsujin/dxvk
[d3d10] Fix resource type for buffers.
This commit is contained in:
parent
73cbf5b352
commit
d464d11fbd
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue