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:
Lioncash
2016-02-16 01:21:22 -05:00
parent 626fcf4c15
commit 6b08194728
9 changed files with 63 additions and 58 deletions

View File

@ -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;