diff options
| author | Mathew Maidment <mathew1800@gmail.com> | 2015-12-21 01:57:37 -0500 |
|---|---|---|
| committer | Mathew Maidment <mathew1800@gmail.com> | 2015-12-21 01:57:37 -0500 |
| commit | 365a326798853676bad3c83274744000a47cfa41 (patch) | |
| tree | acf56e852bc06711f07382821f9d115fea060b00 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 1fbab188adafaf46e252837153cbfa3242a8d3c7 (diff) | |
| parent | f2951828335654d0993ead998b3c547f903501dd (diff) | |
Merge pull request #3369 from lioncash/unique
VideoBackends: Simplify initialization and deinitialization of resources
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 84f24cd6e2..0c9f96cae5 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -2,6 +2,8 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#include <memory> + #include "Common/CommonTypes.h" #include "VideoCommon/BPStructs.h" @@ -22,7 +24,7 @@ #include "VideoCommon/VideoConfig.h" #include "VideoCommon/XFMemory.h" -VertexManagerBase* g_vertex_manager; +std::unique_ptr<VertexManagerBase> g_vertex_manager; u8* VertexManagerBase::s_pCurBufferPointer; u8* VertexManagerBase::s_pBaseBufferPointer; |
