[D3D12] Primitive processor frame_index_buffers_.clear() in shutdown for safety
This commit is contained in:
parent
796eb0f430
commit
70a3919f9f
|
@ -40,6 +40,7 @@ bool D3D12PrimitiveProcessor::Initialize() {
|
|||
}
|
||||
|
||||
void D3D12PrimitiveProcessor::Shutdown(bool from_destructor) {
|
||||
frame_index_buffers_.clear();
|
||||
frame_index_buffer_pool_.reset();
|
||||
builtin_index_buffer_upload_.Reset();
|
||||
builtin_index_buffer_gpu_address_ = 0;
|
||||
|
|
Loading…
Reference in New Issue