message: Protect against crashing if VB is not bound
diff: @@ -165,7 +165,10 @@ void D3D12RenderState::ApplyState(ID3D12GraphicsCommandList *cmd) const
  for(size_t i = 0; i < vbuffers.size(); i++)
  {
  D3D12_VERTEX_BUFFER_VIEW vb;
  + vb.BufferLocation = 0;
  + if(vbuffers[i].buf != ResourceId())
  + {
  ID3D12Resource *res = GetResourceManager()->GetCurrentAs<ID3D12Resource>(vbuffers[i].buf);
  if(res)
  vb.BufferLocation = res->GetGPUVirtualAddress() + vbuffers[i].offs;
  @@ -177,6 +180,7 @@ void D3D12RenderState::ApplyState(ID3D12GraphicsCommandList *cmd) const
  cmd->IASetVertexBuffers((UINT)i, 1, &vb);
  }
  + }
  std::vector<ID3D12DescriptorHeap *> descHeaps;
  descHeaps.resize(heaps.size());
  