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