Add warnings on incorrect GPUBuffer or GPUTexture usage when binding to GPUContext (in non-release builds)
This commit is contained in:
@@ -189,7 +189,7 @@ bool GPUBufferDX12::OnInit()
|
||||
}
|
||||
|
||||
// Create views
|
||||
_view.Init(_device, this);
|
||||
_view.Init(_device, this, this);
|
||||
if (useSRV)
|
||||
{
|
||||
D3D12_SHADER_RESOURCE_VIEW_DESC srvDesc;
|
||||
|
||||
Reference in New Issue
Block a user