mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-25 01:01:37 -05:00
VertexManagerBase: Make CreateNativeVertexFormat return a unique_ptr
Much safer as opposed to just returning raw allocated memory.
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
void Flush();
|
||||
|
||||
virtual NativeVertexFormat*
|
||||
virtual std::unique_ptr<NativeVertexFormat>
|
||||
CreateNativeVertexFormat(const PortableVertexDeclaration& vtx_decl) = 0;
|
||||
|
||||
void DoState(PointerWrap& p);
|
||||
|
||||
Reference in New Issue
Block a user