From d464d11fbd4d896aabfa99de8375981f780611b4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 26 Aug 2018 10:01:28 +0300 Subject: [PATCH] [d3d10] Fix resource type for buffers. --- src/d3d10/d3d10_buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d3d10/d3d10_buffer.cpp b/src/d3d10/d3d10_buffer.cpp index e1075eb15..7b275b2a3 100644 --- a/src/d3d10/d3d10_buffer.cpp +++ b/src/d3d10/d3d10_buffer.cpp @@ -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); } -} \ No newline at end of file +}