mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
D3D12: Get rid of safe deletion macros
Anything these macros provided can be obsoleted by using the correct standard library types.
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include "VideoCommon/VertexManagerBase.h"
|
||||
|
||||
namespace DX12
|
||||
@ -34,8 +35,8 @@ private:
|
||||
u32 m_vertex_draw_offset;
|
||||
u32 m_index_draw_offset;
|
||||
|
||||
D3DStreamBuffer* m_vertex_stream_buffer = nullptr;
|
||||
D3DStreamBuffer* m_index_stream_buffer = nullptr;
|
||||
std::unique_ptr<D3DStreamBuffer> m_vertex_stream_buffer;
|
||||
std::unique_ptr<D3DStreamBuffer> m_index_stream_buffer;
|
||||
|
||||
bool m_vertex_stream_buffer_reallocated = false;
|
||||
bool m_index_stream_buffer_reallocated = false;
|
||||
|
Reference in New Issue
Block a user