libobs-d3d11: Don't allow volume render targets

Unlikely to be necessary. Disable for simplicity.
This commit is contained in:
jpark37
2020-01-01 12:40:03 -08:00
parent 846be2063c
commit ed91c4e3bc
3 changed files with 0 additions and 34 deletions

View File

@@ -302,9 +302,6 @@ void gs_texture_3d::Rebuild(ID3D11Device *dev)
if (FAILED(hr))
throw HRError("Failed to create resource view", hr);
if (isRenderTarget)
InitRenderTargets();
acquired = false;
if ((td.MiscFlags & D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX) != 0) {